1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-02-14 23:18:21 +00:00
This commit is contained in:
Aidan Timson
2026-02-10 16:40:23 +00:00
parent 753de9e58f
commit f88c707c32
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ description: Build schema-driven ha-form UIs. Use when defining HaFormSchema, wi
- Schema-driven using `HaFormSchema[]`
- Supports entity, device, area, target, number, boolean, time, action, text, object, select, icon, media, location selectors
- Built-in validation with error display
- Use `dialogInitialFocus` in dialogs
- Use `autofocus` attribute to automatically focus the first focusable element. If using the legacy `ha-dialog` dialogs, use `dialogInitialFocus`
- Use `computeLabel`, `computeError`, `computeHelper` for translations
```typescript

View File

@@ -373,7 +373,7 @@ this.hass.localize("ui.panel.config.automation.delete_confirm", {
- [ ] Dialogs implement HassDialog interface
- [ ] Dialog styling uses haStyleDialog
- [ ] Dialog accessibility includes dialogInitialFocus
- [ ] Dialog accessibility
- [ ] ha-alert used correctly for messages
- [ ] ha-form uses proper schema structure
- [ ] Components handle all states (loading, error, unavailable)