Forms
Labels identify a value after typing begins. Hints are examples, not labels. Show business validation on submit, then update it after edits. Focus the first invalid field in reading order. Use Form field group legends for related facts, 24 dp apart. Dates are typed first; the date of birth’s calendar button opens a wheel and a near date opens a calendar (Date field). On a phone the province search opens a full-height sheet (Search field).
The KYC onboarding block runs a host form inside consent and review, and the Payment preferences block shows an explicit host-confirmed save.
The KYC form in H04/K01 groups name, masked-in-review NIK and birth date under Personal details. Work and address contains occupation (short Select) and province (long searchable list). The host supplies all options and validation; the kit formats dates and renders errors.
IdentityFieldSpec( key: 'province', label: s.province, group: s.groupWorkAddress, kind: IdentityFieldKind.search, options: _provinces, validator: (v) => v.isEmpty ? s.provinceRequired : null,);Keep PIN, OTP, password and card-secret entry in the host authentication flow. These fields collect non-secret payment or identity details. In the example’s report flow, free text stays local and only its category and length are sent. Do not log customer-entered text.
