A typical way you would want to represent a list of options in C would be as an enum, i.e. integers.
The select and radio components only allowing string values makes this a pain.
Ideally, you should be able to specify integer values in the config.json and it Just Work, but currently ints get silently converted to strings so that would be a breaking change. Alternatively there could be an extra Property valueType or whatever.
A typical way you would want to represent a list of options in C would be as an enum, i.e. integers.
The
selectandradiocomponents only allowing string values makes this a pain.Ideally, you should be able to specify integer values in the config.json and it Just Work, but currently ints get silently converted to strings so that would be a breaking change. Alternatively there could be an extra Property
valueTypeor whatever.