polymerfire icon indicating copy to clipboard operation
polymerfire copied to clipboard

Polymer 2.0 paper-input with firebase-document deletes data

Open christophe-g opened this issue 7 years ago • 0 comments

With Polymer 2.0, firebase-document used together with paper-input as below:

<firebase-document path="/myPath" data= "{{data}}"></firebase-document>
<paper-input label="label" value="{{data.WILL_BE_DELETED}}"></paper-input>

deletes data on firebase.

This is posted for info (and warning) as the real culprit is iron-input as reported here: https://github.com/PolymerElements/iron-input/issues/143

christophe-g avatar Jan 14 '19 15:01 christophe-g