Team Kode
 · AI-powered software agency

ID from dropdown is wrong

Widgets & Design

I have a query from the Supabase table called 'contatos'. In the dropdown, I'm using the ID as the value and 'nome_contato' as the label. Below the dropdown, I have a list that filters the 'contatos' table based on the ID selected by the user, as shown in this image:

For some reason, the dropdown value isn't matching the row in Supabase. I tried storing the selected value in a component state, but it had no effect. Does anyone know if the label in the dropdown affects the query? How can I bypass this issue?

What have you tried so far?

I tried to create a singular query with the ID select on dropdown, and the result was the same, another row that dosen't match the dropdown ID.

Did you check FlutterFlow's Documentation for this topic?
Yes
2 replies