How to get enum value ?
Options
![Thomas Bonfils](https://us.v-cdn.net/6037124/user_avatars/5006242.jpg)
Thomas Bonfils
Member ✭
Hi, i would like to get all my enum value to put it in dropdown.
Some advices to do that ?
It's better to hard code it ? Or separate it in new table ?
Thanks
Some advices to do that ?
It's better to hard code it ? Or separate it in new table ?
Thanks
Comments
-
Things that small, change infrequently and are global are relatively safe to keep local in the code rather than storing in a database, and that can both improve performance and make your life easier. Your enums sound like a good example of that.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback