Form dropdown bound to a 3-value list shows only ONE value, and a second list column is missing from the form

Hi everyone,

I have a Google Sheets-based AppSheet app (“Recupero Frazione Oraria”) where school teachers log their extra work. Two list-type columns in the same table misbehave, while every other list column in the same table AND in the same form works correctly.


SETUP

Table Liste (Read-Only), Key = _RowNumber, Label = tipologia_recupero, 18 columns, all Type = Text.

  • Liste[titolo_FSL] contains exactly 3 distinct values - FSL1, FSL 2, FSL 3 - one per row.
  • Liste[classi_FSL] contains 17 distinct values (3A … 5E), one per row.
  • In Data > Columns > Liste, both columns are Type = Text, and Values, Valid If, App formula, Initial value and Suggested values are all empty.
  • Data > Liste > View Data shows all 3 and all 17 values correctly, so the data itself is fine.

Table Registrazioni (Updates + Adds + Deletes), with a system-generated form view. Other columns in this same table use exactly the same “dropdown from another table” pattern and work fine.


COLUMN 1 - titolo F.S.L. (single select) → shows only 1 value

  • Type = Enum
  • Type Details > Values = Liste[titolo_FSL]
  • Allow other values = OFF
  • Auto-complete other values = OFF
  • Base type = Text
  • Input mode = Dropdown
  • Show? = [tipologia di recupero frazione oraria] = “Attivita di F.S.L. (ex P.C.T.O.)”

Expected: a dropdown with the 3 values.
Actual: the dropdown shows ONE value only.


COLUMN 2 - classi F.S.L. (multi select) → not shown at all

  • Same pattern, driven by Liste[classi_FSL].
  • Actual: the column does NOT appear in the form at all, even though it
    exists in the table, is in the form’s column list, and Show? is enabled.

WHAT I ALREADY TRIED

  1. Type = Text + Valid If = Liste[titolo_FSL] → still only one value.
  2. Type = Enum with the list in Values, exactly as in the help article “Display a drop-down with a simple list of values” → still only one value.
  3. Input mode = Buttons → «ESITO: compila qui, es. “all 3 values show up correctly” oppure “still only 1 value”»
  4. Regenerate + Save + Sync on both tables.
  5. Both columns were created by RENAMING the headers in the source sheet after the app had been built (the original columns were called “titolo dell’attivita di F.S.L.” / “classi degli alunni coinvolti nella F.S.L.”).
  6. All the other list columns in the same form, with the identical pattern, show every option correctly.

QUESTIONS

  1. Why would a dropdown bound to a 3-value list render only ONE option, when the identical pattern works in other columns of the same table, in the same form?

  2. For the missing classi F.S.L.: is this the documented behaviour described here Trying to understand Editable_Ifs....Confused , i.e. “a form column will NOT show if it is editable but there is no valid selection options available, or if it is not editable and is empty”? If so, what exactly does AppSheet consider “no valid selection options” for an Enum whose Values expression returns 3 rows?

  3. I found this thread Ref column dropdown doesn't show all options “Ref column dropdown doesn’t show all options”, where the dropdown was pre-populated with the first value and then filtered the list, and the root cause turned out to be a referenced key column of type Number (because in AppSheet NULL = 0 for numbers) that had to be changed to Text. My Liste key is the system _RowNumber. Could that be the problem here too? And could the new desktop design dropdown behaviour be involved (in that thread the author says values showed up correctly only with Input mode = Buttons)?

  4. Is the recommended fix a full reset, i.e. delete the two columns from the source sheet, regenerate, and re-create them as brand-new columns at the end of the sheet - given that renaming a header seems to keep the old column’s settings instead of giving me a clean column?

  5. Attached screenshots:

  • Data > Columns > Registrazioni > titolo F.S.L. (full column panel: Type, Data Validity, Update Behavior, Auto Compute)
  • the same panel for classi F.S.L.
  • Data > Liste > View Data, with the titolo_FSL column visible
  • the form in preview, with the titolo F.S.L. dropdown open

Thank you very much for any hint!

Columns of type Enum and EnumList must have either explicitly-defined vales in the column configuration, or a Valid if or Suggested values expression to generate choices for the input dropdown. Without any of these, the app will only offer values already recorded for the column of existing rows, at most.

I can’t figure out what the problem is, it only happens to me with two fields. I have configured all the other similar fields correctly using the “valid if” function, and they correctly call the lists contained in the “Lists” tab of the same Google Sheet as these two.

These two fields, which I called “F.S.L. title” and “FSL class,” instead only show the first value in the list.

I also tried using the expression Lists[FSL_title] and Lists[FSL_class] directly in the values ​​field in Type details, but nothing changes.

Furthermore, the “F.S.L. class” field only appears if I select the only available entry in the “F.S.L. title” field, but in the show if field there is no reference to the F.S.L. class, so it should display regardless of whether the F.S.L. title field is selected.

Please post screenshots of the full configurations of each of those two columns, and the configuration of one form view that incorrectly does not display either or both of the columns.

Please post screenshots of the configurations of the columns.

I don’t see a problem with the configurations, so we should look elsewhere. I do wonder whether your use of _RowNumber as a key column is affecting things here. Try adding another key column and giving it a unique value in every row that has at least one other column value.

I’m sending you the screenshot where you can see the key column set, actually the strange thing is that all the other fields (configured in the same way) work correctly and correctly take the lists from the Google Sheets file, the problem only occurs with these two

I solved the problem.

If an Enum column pulls its list from a sheet (Liste[titolo_FSL]) and the dropdown stays empty or shows just one item — while the formula’s Test correctly returns all the values — the list contains blank entries. This happens with “list of lists” sheets, where each column has a different length and the AppSheet table extends to the longest one: titolo_FSL has 13 values but the table has 31 rows, so the column reference returns 13 values plus 18 blanks.

The Enum widget can’t build its options from a list containing blanks (the Test just prints the list, which is why everything looks fine).

Solution — in Valid If (or in Values):

SELECT(Liste[titolo_FSL], ISNOTBLANK([titolo_FSL]))