PolymerElements / iron-input

An input with data binding
https://webcomponents.org/element/PolymerElements/iron-input
33 stars 45 forks source link

Set prevent-invalid-input to true when an allowed-pattern is provided #42

Closed masonlouchart closed 8 years ago

masonlouchart commented 9 years ago

My point is, why it's possible to define the allowed-pattern and do not set the prevent-invalid-input to true? I propose to automatically set the property prevent-invalid-input to true when an allowed-pattern is defined.