826 B
826 B
Form Behavior and Validation Rules
Universal Rules
- Every required field has inline validation.
- Every select has deterministic default value.
- Save actions are idempotent and disabled while pending.
- Unsafe changes surface explicit impact warnings.
Create/Edit Parity Requirements
- intake windows
- upload policy
- file requirements
- assignment policy
- filtering policy
- routing policy
- live policy
Modal Safety Rules
- Modal close must not mutate persisted state.
- Non-submit buttons must explicitly set
type="button". - Escape/cancel should only dismiss local draft state.
Payload Safety
- replace raw free-text config where structured selectors exist
- normalize serialization format for config payloads
- reject unknown keys in strict mode contracts