We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
e.g. ['Dog', 'Cat', 'Mouse', 'Squirrel']
Option list would look like
<option>Dog</option> <option>Cat</option> <option>Mouse</option> <option>Squirrel</option>
Native browser behavior is to use the "label" value if there isn't a set value.
I have a couple flat lists in my app like this. Right now I have to add little methods like this to get around it:
const optionsToHash = options.map((opt) => { return { value: opt, label: opt } })
NBD, but most select widgets do this.
I'll also try to put in a PR for this, as the library otherwise suits my needs swimmingly.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
e.g. ['Dog', 'Cat', 'Mouse', 'Squirrel']
Option list would look like
Native browser behavior is to use the "label" value if there isn't a set value.
I have a couple flat lists in my app like this. Right now I have to add little methods like this to get around it:
NBD, but most select widgets do this.
I'll also try to put in a PR for this, as the library otherwise suits my needs swimmingly.
The text was updated successfully, but these errors were encountered: