I have 2 inputs on the form. I am using React.js and Twitter Bootstrap.
The intended behavior is:
When an input is typed in on either of the form input fields, another input field should not accept any input (or be disabled).
I am using FormControl from Bootstrap.
How should I achieve this in this React.js/Bootstrap setting?
isDisabledin first input thenonKeyDownsecond youtruethe state