ChoiceChips widget

Widgets & Design

In my FlutterFlow app I’m using a ChoiceChips widget to let users select course categories. Right now the widget displays the category field (string), and when I save the selection it also returns the same string.

What I actually need is:

  • Display: the category name on the chip (user-friendly text).

  • Value: the cursid (unique ID of the course type) when saving to Firestore.

However, ChoiceChips in FlutterFlow doesn’t seem to have separate “label” and “value” properties like Dropdowns do. Has anyone solved this?

  • Is there a way to configure ChoiceChips so that it shows one field but returns another?

Any best practices for this pattern in FlutterFlow would be appreciated!

What have you tried so far?

I tried to update page state while choosing chips but I can't map them into cursid.

Did you check FlutterFlow's Documentation for this topic?
No
2
1 reply