Skip to content

Allow integer values in select and radio Components #28

@howeaj

Description

@howeaj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions