Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

error inside onInputBlur, when using md-chips with md-autocomplete #9867

@ex37

Description

@ex37

Actual Behavior:

  • What is the issue? * Click inside the chips input. Then click outside to blur. It throws an error.
  • What is the expected behavior? shouldn't throw error on blur

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue: http://codepen.io/ex37/pen/jrQkvr
  • Details: This demo is a part of Angular Material's documentation. This problem was introduced in version 1.1.1, and was not there before.

Angular Versions: *

  • Angular Version: 1.5.6
  • Angular Material Version: 1.1.1

Additional Information:

  • Browser Type: * Chrome
  • Browser Version: * 54.0.2840.59 (64-bit)
  • OS: * macOS Sierra
  • Stack Traces:
angular-material.min.js:14 Uncaught TypeError: Cannot read property 'trim' of null(…)
e.onInputBlur   @   angular-material.min.js:14
(anonymous function)    @   angular.js:1256
Qf  @   angular.js:3456
d   @   angular.js:3444

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions