Form-associated fixture
experimental
Change the input label, active state, and value on a WarUI custom element.
Live example
Expected behavior
The input reflects the controls. Reset restores the original label, value, and active state.
Source
<war-fixture label="Fixture value" value="WarUI"></war-fixture><WarFixture label="Fixture value" value="WarUI" /><war-fixture-angular label="Fixture value" value="WarUI"></war-fixture-angular><WarFixture label="Fixture value" model-value="WarUI" /><WarFixture Label="Fixture value" Value="WarUI" />API reference
| Kind | Name | Type | Description |
|---|---|---|---|
| Property | label | string | — |
| Property | active | boolean | — |
| Property | settings | Record<string, unknown> | — |
| Attribute | label | string | Accessible input label. |
| Attribute | active | boolean | Whether the fixture is active. |
| Event | war-change | CustomEvent<{value:string}> | A user changed the value. |
| Slot | (default) | — | Default content. |
| Slot | extra | — | Additional content. |