Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

Paper input throws exception when used with Angular #53

Description

@mehmetf

We get the following exception when the element is loaded:

Exception caught during observer callback: TypeError: Cannot read property 'replace' of null
    at paper-input.Polymer.inputValueChanged (.../packages/paper_elements/src/paper-input/paper-input.html:227:40)
    at paper-input.g.invokeMethod (.../packages/polymer/src/js/polymer/polymer.js:12:12307)
    at paper-input.g.notifyPropertyChanges (.../packages/polymer/src/js/polymer/polymer.js:12:10593)
    at Object.Observer.report_ (.../packages/web_components/platform.js:12:12814)
    at Object.createObject.check_ (.../packages/web_components/platform.js:12:18305)
    at c (.../web/packages/web_components/platform.js:12:5610) (.../packages/web_components/platform.js:12)

We are using the standard way angular has dictated:

<paper-input multiline maxRows=5 floatingLabel=true label='Enter notes here...'
  bind-input-value='ctrl.meetingNotes'></paper-input>

Interestingly, using the paper-input element by itself does not cause any issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions