Select is not changing value
See original GitHub issueHello, I am using Select.Async but cant seem to make it show selected value, even tough onChange shows correct value. I have this
<Select.Async name="form-field-name"
onChange={this._clientChange}
autoload={false}
loadOptions={this.getOptions} />
options are successfully loaded (also loading bar is working) but when i click any element from select box input field remains empty. Any idea what could that be? what additional info can i provide?
Im using "react": "^0.14.1"
and "react-select": "^1.0.0-beta5",
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Select option is not updated 'selected' property in HTML web ...
It's not change the html itself but it does change the value of the select. $('select').change(function(){ $('#result').html($(this).val()); ...
Read more >html select is not working when manipulated from js
Using the selected property appears to confuse the browser. I've tried several iterations, and it seems to "randomly" confuse the values.
Read more >The State change is not changing the value. It still displays ...
when the value it selected it doesn't update the value but the state is being changed. As it works in some components and...
Read more >Dropdown box value is not updating when changed using ...
Hi,. When I try to change the value set in a select element using jQuery the value does not display on the screen,...
Read more >SCR19: Using an onchange event on a select element ... - W3C
Navigate to the trigger select element, navigate through the options but do not change the value. Check that the matching option values are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The component now requires you to handle the
value
independently and pass it as a prop, does this help? It looks like you’re not passing that in the code you’ve provided.Check the examples to see how that works.
(previously, value would be managed internally, but this was causing a lot of problems so that feature has been removed for 1.0.0)
i have updated the version of react-select to “react-select”: “^2.0.0-beta.7”, which is working fine there is no to call the css