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
Current behavior:
I've been using mwc-checkbox knowing that it is still under development.
Although, I've found out that name property is not passed to the input.
Result is by using a form element that wraps up the checkbox, when parsing the checkbox value is never returned.
Expected behavior: mwc-checkbox should pass the name property to the inner input.
Related code:
<iron-formid="ironForm"><formid="form"><mwc-checkboxcheckedname="a"></mwc-checkbox></form></iron-form>/* ... */leta=form.serializeForm();// a = {};
Again I am aware that this is still under development.
The text was updated successfully, but these errors were encountered:
I don't think it is as simple as propagating the name as the form won't know about the existence of the inner input.
Some form-participation stuff is probably needed so the form picks it up as a "form element". This is a brand new API/spec though (form participation) so not sure how you'd make it backwards-compatible..
edit: i see its probably the iron form you're interacting with. in which case maybe its a bit simpler
I'm submitting a:
OS
Hiegh Sierra 10.13.6
What browser(s) is this bug affecting:
Latest Firefox - Last Chrome
Current behavior:
I've been using
mwc-checkbox
knowing that it is still under development.Although, I've found out that name property is not passed to the input.
Result is by using a form element that wraps up the checkbox, when parsing the checkbox value is never returned.
Expected behavior:
mwc-checkbox
should pass the name property to the inner input.Related code:
Again I am aware that this is still under development.
The text was updated successfully, but these errors were encountered: