Skip to content

Type Alias: FieldType

Makaio Framework


Makaio Framework / contracts / FieldType

FieldType = "text" | "password" | "number" | "boolean" | "select" | "array" | "custom"

Defined in: ../../../packages/contracts/src/shared/ui-config.ts:193

Field type options for form inputs.

These types correspond to standard HTML input types and provide type-safe rendering of different form field variants. Slider-style numeric controls continue to use type: 'number' with widget: 'slider'.

Use 'custom' when field rendering is fully delegated to the widget specified in widget — SchemaForm will route the field to the registered widget and ignore the type for rendering purposes.

  • FieldType
    • 'text' | 'password' | 'number' | 'boolean' | 'select' | 'array' | 'custom'
      • 'text'
      • 'password'
      • 'number'
      • 'boolean'
      • 'select'
      • 'array'
      • 'custom'

Resolved shape has 52 properties, above the 40 property limit.