Validator tests

validator: validate-* rules on plain inputs + components, server rule

Basics — required, lengths, formats

Cross-field + custom rule — same-as, a rule registered at init

Components — the same attributes on selekt / date-selekt / file-selekt

Interests (checkbox group, min-items 2 — rules on the first box)
Plan (radio group, required)

Server validation — /examples-demo/validate/username via g.fetch, team attached

Taken everywhere: admin, root, genus. Taken only in team Alpha: john. "boom" = business-error demo. The endpoint answers with ~250ms latency; the live field validates as you type (debounced, stale requests aborted).

Result

Submit with errors → toast + messages under the fields. Submit clean → validator:submit fires and the FormData lands here (this is where the app would call g.fetch).

(nothing submitted yet)