Unions
The following unions are available in the Form component:
| Name | Value | Description |
|---|---|---|
| FormValueType | 'string' | 'number' | 'boolean' | 'Date' | 'File' | 'FileList' | 'React.ReactNode' | 'null' | 'undefined' | Specifies the possible value types for form fields. |
| ValidationRule | '['boolean' | 'RegExp' | 'number' | 'number[]' | 'string' | 'Date' | '(() => boolean), string?']' | Defines the structure for a validation rule in the form system. A ValidationRule is a two-part array containing:
The first element's type depends on the specific rule:
|