CustomFieldInput

Fields accepted when creating a custom field. Unknown or read-only fields are rejected.

  • The table the field is on, e.g. gigs or venues. Fixed once created.

  • Fixed once created; to change a field’s type, retire it and add a new one.

    values
    • rich_text
    • number
    • currency
    • date
    • time
    • checkbox
    • select
    • multi_select
  • The column name: lowercase, starting with x_. Fixed once created.

  • The allowed values of a select or multi_select field.

  • The table a relation field points at. Fixed once created.

  • New records must supply a value. Checked by the API, not the database.

  • A retired field is hidden from the API and the app; its column and data stay.