Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select input value is always prefixed with "<index>: " #152

Open
Oggie23 opened this issue Mar 24, 2019 · 0 comments
Open

Select input value is always prefixed with "<index>: " #152

Oggie23 opened this issue Mar 24, 2019 · 0 comments

Comments

@Oggie23
Copy link

Oggie23 commented Mar 24, 2019

When using the { value : , text : } array for [options] in the select input, the value you put is changed.

Example:

Using

[
{ "value" : "val1", "text" : "val1" }, 
{ "value" : "val2", "text" : "val2" },
{ "value" : "val3", "text" : "val3" }
]

will yield the select control as if using

[
{ "value" : "0: val1", "text" : "val1" },
{ "value" : "1: val2", "text" : "val2" },
{ "value" : "2: val3", "text" : "val3" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant