INPUT_OBJECT

FormFieldInput

Input type for a form field

link GraphQL Schema definition

  • input FormFieldInput {
  • # Unique identifier of the field
  • id: String!
  • # Field type
  • type: FormFieldTypeEnum!
  • # Localized label (locale => text)
  • label: Json
  • # Localized placeholder (locale => text)
  • placeholder: Json
  • # Localized helper (locale => text)
  • helper: Json
  • # Localized content (locale => text)
  • content: Json
  • # Whether the field is required
  • required: Boolean
  • # Default value
  • defaultValue: String
  • # Field width (percentage, e.g. "100", "50")
  • width: String
  • # Choice options — list of localized maps (select, multiselect, radio, checkbox
  • # only)
  • options: Json
  • # Minimum value (number field only)
  • min: Int
  • # Maximum value (number field only)
  • max: Int
  • # Step increment (number field only)
  • step: Int
  • # Allow decimal values (number field only)
  • decimal: Boolean
  • }