feat: add NATIONALITY and NATION field types with dedicated country-picker logic and storage conversion

This commit is contained in:
estifanos
2026-09-08 06:45:34 +00:00
parent d5d77cbc30
commit e1150cab63
7 changed files with 126 additions and 15 deletions

View File

@@ -78,7 +78,11 @@ export type FormFieldType =
| "BOOLEAN"
| "EMAIL"
| "PHONE"
| "TIN";
| "TIN"
/** Full nationality list, stored as the English demonym ("Ethiopian"). */
| "NATIONALITY"
/** Full country list, stored as the English country name ("Ethiopia"). */
| "NATION";
export interface FieldCondition {
/** Omitted when `anyOf` is used instead — see below. */