Custom widget

0
Hi, i am new to React and i just completed 2-3 courses on academy to build a pluggable widget. I am able to work with date time, string, integer etc. But didn’t get how can i do it for enumeration type. I tried building something like drop down widget by taking enumeration values from mendix. Any idea how can i get the values of enumerations from mendix to react and how can i create drop down using those values using select and options tags.
asked
1 answers
0

If I understood correctly you are in need of the attribute type = enumeration

See this documentation

 

I can imagine something like a context entity object wrapping your widget has an attribute of type enum which you can choose as your widget attribute.


Hope I understood the question well. Let me know otherwise.

answered