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
Allow any type in value #25
Comments
jacobdfriedmann
added a commit
to jacobdfriedmann/react-select
that referenced
this issue
Dec 10, 2014
… and values. If a multi-select, passes an array to the onChange function (instead of concatenated string) which is empty when nothing is selected. If a single select, passes the single value to the onChange function and null if nothing is selected.
jacobdfriedmann
added a commit
to jacobdfriedmann/react-select
that referenced
this issue
Jan 4, 2015
… and values. If a multi-select, passes an array to the onChange function (instead of concatenated string) which is empty when nothing is selected. If a single select, passes the single value to the onChange function and null if nothing is selected.
jacobdfriedmann
added a commit
to jacobdfriedmann/react-select
that referenced
this issue
Jan 12, 2015
… and values. If a multi-select, passes an array to the onChange function (instead of concatenated string) which is empty when nothing is selected. If a single select, passes the single value to the onChange function and null if nothing is selected.
IMHO it must stay as strict as possible and do not allow non-strings to be values. |
This was referenced May 7, 2015
Closed in favour of #45. |
bkoltai
pushed a commit
to bkoltai/react-select
that referenced
this issue
Sep 20, 2017
…13-patch Update to latest upstream master
Methuselah96
added a commit
to Methuselah96/react-select
that referenced
this issue
Nov 22, 2020
…m Select (JedWatson#25) * Use memoization function to access components * Create thirty-islands-remain.md * Rename method * Make method * Delete thirty-islands-remain.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HTML options tag doesn't allow value to be any other type than string. But this component should allow this because it is usually more convenient to make values as integer ids. Developers shouldn't always make conversion from string to int and vice versa themselves.
The text was updated successfully, but these errors were encountered: