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
categoryname 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!