You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
platosha
changed the title
Calling .reset() on form control does not set pristine flag to true
Calling .reset() on a form control does not set pristine flag to true
Oct 7, 2016
Polymer elements in an angular form appear initially dirty whereas native elements appear initially pristine. In order to reset the pristine flag, it takes to call form.reset() twice.
Happens with
<vaadin-date-picker>
.Resetting pristine flag requires to call
.reset()
several times.Live demo: https://plnkr.co/edit/io5iBCw5jPUNpZsHViUV?p=preview
The text was updated successfully, but these errors were encountered: