How to get select element’s value in react-bootstrap?

Posted by Rohit Kumar | Updated on

Want to get select element’s value in react-bootstrap? In this case you need to use the getInputDOMNode() wrapper function in order to get the underlying input’s actual DOM element. But you can also use the getValue() convenience function that react-bootstrap provides for Input elements.

So your _handleDube function should look like:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers