INPUT_OBJECT

FieldDataSetItem

Option of a dropdown, radio or multiselect field, as set when creating or changing a draft field.

link GraphQL Schema definition

  • input FieldDataSetItem {
  • # Id of an existing option to change; leave empty to add a new option.
  • id: UUID
  • # Label of the option shown to users; translations go in optionNameTranslations.
  • optionName: String!
  • # Map of locale codes to translated option names (e.g. {"en-US": "Hot"}).
  • optionNameTranslations: JSONString
  • # Numeric value of the option, used in calculation formulas.
  • calcValue: Float!
  • # For dependent fields, the values of the parent field this option is available
  • # for.
  • allowedBy: [ID]
  • }