I'm using react-select for my input fields. Everything works fine apart from getting the selected value inside the input once clicked. Also (as mentioned in the heading) I'm unable to see the initial value popping up in the select field although it is set in the code.
render(){
var Select = require('react-select');
var options = [
{ value: '1', label: '1' },
{ value: '2', label: '2' }
];
function logChange(val) {
console.log(val);
}
return(
<Select
name="form-field-name"
value="one"
options={options}
onChange={logChange}
/>
);
All the events work fine (I can see then on my console.log but nothing changes on screen).
Here is the console.log and the rendering (null is because of the X icon-clear)

onChange={this.logChange}. Further look at this example github.com/JedWatson/react-select/blob/master/examples/src/…