diff --git a/docs/ui-guidelines.md b/docs/ui-guidelines.md index f908d4c2a..4adc25d80 100644 --- a/docs/ui-guidelines.md +++ b/docs/ui-guidelines.md @@ -132,7 +132,8 @@ helper text explaining why. Silent disabled buttons frustrate users. ### 2.2 Inputs and forms -We use `react-hook-form` + Zod schemas from `src/lib/validations/`. +Forms keep a controlled draft in component state and validate it with the +Zod schemas from `src/lib/validations/`; the server's schema is the authority. Wrap inputs in `