iron-form
iron-form copied to clipboard
Custom form element
This was present in 1.x https://www.webcomponents.org/element/PolymerElements/iron-form/v1.1.6/elements/iron-form#property-request but not anymore in 2.x
### Description I got this error "Form submission canceled because the form is not connected". My element that contains the iron-form is in a `dom-if` template. The condition is `true`...
### Description It seems that the iron-form components no longer validate inputs inside shadow DOM. I have a custom component with and iron-form element, which includes some other custom components...
### Description When using iron-forms and putting paper-checkboxes inside a iron-selector and then serializing the form the selected values get duplicated. Without the iron-selector it works fine. I think this...
I figured it would be having `name` and `value` attributes and dispatching a `change` event but I see that `...` doesn't fire when my custom elements dispatch `change` event. I...
### Description The `iron-form` element serializes two values in an array when wrapped an input with `iron-label`. ### Expected outcome Only 1 String value should be in the serialization for...
### Description reset breaks paper-radio buttons and paper-dropdown-menu ### Expected outcome Default selected values show as it does when form first loaded ### Actual outcome No default values are selected...
.validate() should also return list of form items which failed to validate. { status: false failedElements: ['Array of form element that failed to validate'] }
It would be great to be able to check the form's validation state without triggering invalid property on all the inputs within it. Use Case: Disabling a submit button until...
### Description A lot of elements (for example `paper-textarea`, but also `paper-dropdown-menu`) will have `undefined` as their value if the field is left untouched. The `serialize()` method will create a...