Loading...

Every field in admin chrome is a `simple-fields-field`

AGENTS.md and proposed

(app-hax, HAXcms core UI, the editor, outline-designer, the character builder): text, search, select, textarea, checkbox and radio. Style it with `HaxUiAdminSimpleFields` from `@haxtheweb/d-d-d/lib/HaxUiAdminControls.js` (`class="hax-ui-simple-field"`, add `compact` for a 32px toolbar field) and read changes from its `value-changed` event (`e.detail.value`; it also fires for the value it was rendered with, so set state from it rather than toggling). Never hand-draw `<input>`, `<select>` or `<textarea>` there: a native control styled per element is how white-on-white dark mode bugs slip in. Hidden and file inputs are the only exceptions. In the AGENTS.md of components. Nothing enforces this yet.

Status: gap

Connects to

Links