Enum Type or mapped selector? #760
Answered
by
harinij
runnedrun
asked this question in
Support / Q&A
|
Hey folks, many of the fields are enums with numeric or string values that, in our current admin dashboard, map to pretty english names. For example: approvalStatus: Is there a way to make a display for this in Rowy, where "approved" is shown but the number 1 is written when that fields is selected? Thanks! |
Answered by
harinij
Aug 27, 2022
Replies: 1 comment
|
Hi @runnedrun you can use the "Status" field type for this usecase. You can easily configure Status field to map the field with a cell label and value like so: The users of the admin panel will be able to select a field and underneath in Firestore the corresponding number value will be saved. |
0 replies
Answer selected by
harinij
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Hi @runnedrun you can use the "Status" field type for this usecase.
You can easily configure Status field to map the field with a cell label and value like so:
The users of the admin panel will be able to select a field and underneath in Firestore the corresponding number value will be saved.