Convert a text field to a dropdown

Turn existing text values into single-choice options and check the migration before and after applying it.

Choose a field with repeatable values

Use a custom Text field in a stored Mainbase table that you can manage. You need read access to the field and all its records to preview the values. For example, a Region field containing North, South, and West is a good candidate for a dropdown.

Review the source values before converting. A dropdown can have up to 512 distinct options in this conversion. Each source value must fit within 512 characters, and values that differ only by case can block the mapping. If the field contains variants such as North and north, correct the intended records first.

Review the mapping and apply the change

  1. Open Settings → Database and select the table. In the field list, select Text in the field’s Type column, then choose Dropdown.
  2. In the preview, compare each Current value with its Records count. Check Blank records as well. Blank entries can stay empty when the field is optional.
  3. Edit the Option label and Color as needed. For example, a stored value of North can appear as Northern region in the dropdown. Each source value maps to its own option. To combine two different source values, update the underlying records before reopening the preview.
  4. Select Review conversion. Read the impact summary and any dependency warnings, especially those involving formulas. If the review reports an unmapped value or stale information, reopen the preview and check the latest values. Select Apply change once the review shows the intended conversion and no blockers.

Verify the converted field

  1. Reopen the table and confirm the field now offers a dropdown with the reviewed labels. Check at least one record for each option and a previously blank record if there was one.
  2. If the field is used by a saved view or calculation, open it and compare its results with the source records. Check the formula preview for any formula flagged in the conversion review.

If Dropdown is unavailable or the preview cannot load, check your schema permissions and read access first. System fields, virtual tables, and fields managed by a plugin can restrict type changes. Uniqueness, defaults, or validation rules on the text field can also block the conversion. Review the field setup.

Find where to edit a field that an app uses or manages

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy a question to get started

  • How do I create a Kanban view?
  • How do I invite a teammate?
  • Why is a record missing from this view?