kit-select
<kit-select> wraps a native <select> and participates in forms through ElementInternals.
<kit-select name="status" required> <option value="draft">Draft</option> <option value="published">Published</option></kit-select>Attributes
Section titled “Attributes”| Attribute | Type | Notes |
|---|---|---|
name | string | Form field name. |
value | string | Current selected value. |
required | boolean | Mirrors native select validation. |
disabled | boolean | Disables the native select. |
Events
Section titled “Events”kit-field-changed— emitted with{ name, value }.change— re-emitted as a composed native-style event.