I can't clear textarea value inside paper-input-decorator. Here is the code:
-----------------------
<paper-input-decorator
id="title_decorator"
label="Title"
error="Value must be set!"
isInvalid="{{!$.title_input.validity.valid}}"
floatingLabel>
<paper-autogrow-textarea>
<textarea id="title_input" is="core-input" value="{{title}}"
required></textarea>
</paper-autogrow-textarea>
</paper-input-decorator>
-----------------------
No one of the following methods doesn't work:
1)
this.value = "";
2)
this.value = "";
this.$.title_input.commit();
3)
this.value = "";
this.$.title_input.value = "';
this.$.title_input.committedValue = "';
Could anyone help?
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/823dfc2b-c8bd-43d7-8d37-e0dd3e0522a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.