Custom field - Code
With the help of ix-custom-field you are able to create form fields that can host any component / markup, while still having access to all validation states as well as ascociated explanatory texts like helper-text, valid-text, info-text, warning-text or invalid-text.
The component will check if any of its children has one of these classes set:
ix-valid, ix-info, ix-warning or ix-invalid
If this is the case the custom field will display the corresponding text.
Custom fields can be used to migrate from the existing input validation (native inputs) to the new validation / froms concept.