docs(requirements): tighten form effect rows

Add explicit northstar ring fields to form_effects requirements and shorten the generated clear command wording without changing behavior.

req: form_effects/001

req: form_effects/002

req: form_effects/003
This commit is contained in:
slhx agent
2026-06-25 15:23:48 +02:00
parent 4938c2ea2e
commit 9a4971eee8
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -472,13 +472,13 @@ what a valid business email is. [north_star]
## form_effects
### req: form_effects/001
001 Generated form APIs provide common commands: `clear()`, `clear(field)`, `reset()`, `error(field, message)`, `focus(field)`, and `disable_while_pending()`. `form.clear()` clears the canonical generated form without requiring callers to name raw control ids.
0 001 Generated form APIs provide common commands: `clear()`, `clear(field)`, `reset()`, `error(field, message)`, `focus(field)`, and `disable_while_pending()`. `form.clear()` clears the generated form without raw control ids. [north_star]
### req: form_effects/002
002 Form effects target generated form/control ids, not CSS selectors.
0 002 Form effects target generated form/control ids, not CSS selectors. [north_star]
### req: form_effects/003
003 Templates may declare error display targets with `data-hemx-error-for="field"`. Generated form error effects render into those targets when present and fall back to control validity APIs otherwise.
0 003 Templates may declare error display targets with `data-hemx-error-for="field"`. Generated form error effects render into those targets when present and fall back to control validity APIs otherwise. [north_star]
---