webcomponents.org icon indicating copy to clipboard operation
webcomponents.org copied to clipboard

Demo - State changes

Open Gravitary opened this issue 7 years ago • 2 comments

Origin page

When filling out the form, thus enabling the submit button, then pressing reset, the button stays enabled and can be pressed.

When pressed, it loads a spinner to submit and spins infinitely, trying to resolve undefined fields. When filling out the form again the button is enabled with a spinner.

Gravitary avatar Jun 26 '17 13:06 Gravitary

Which form are you referring to? It appears that the submit button is always enabled.

samuelli avatar Jun 27 '17 00:06 samuelli

Looking at this it's an issue with iron-form.

for "Example of an iron-form reacting to state changes" Pressing reset does not trigger change on the form meaning the validity checker doesn't run.

Link2Twenty avatar Jan 12 '18 16:01 Link2Twenty