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

Value of the select element is incorrect #48

Open
Max-Z80 opened this issue Apr 12, 2019 · 0 comments
Open

Value of the select element is incorrect #48

Max-Z80 opened this issue Apr 12, 2019 · 0 comments

Comments

@Max-Z80
Copy link

Max-Z80 commented Apr 12, 2019

I use the react-combo-select component without setting the text prop (because I want the component to display 'select' and not a predefined option). It has say 3 options ('a','b', 'c') After I choose the option 'c' in the drop down list, the property 'value' of the select html element in the DOM does not have the expected value. Instead it always has the value of the first option (ie 'a' here) in the drop down list. The component displays the value 'c'.
This issue occurs only the first time I use the component. When I repeat the procedure above with another option, the component behaves properly.

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