SingleSelect input value didn't behave correctly when both onInputValueChange and onChange were given and onchange altered the parent component state. The input value could not be modified in this case.
This PR provides a suggested solution to the issue.
Related Issue
Closes #857
Motivation and Context
This was a bug reported by users and a service developer
How Has This Been Tested?
Tested by running locally on styleguidist with modified examples.
Release notes
SingleSelect
Fix an issue where input value could not be updated in a certain controlled state situation
Description
SingleSelect input value didn't behave correctly when both
onInputValueChange
andonChange
were given and onchange altered the parent component state. The input value could not be modified in this case.This PR provides a suggested solution to the issue.
Related Issue
Closes #857
Motivation and Context
This was a bug reported by users and a service developer
How Has This Been Tested?
Tested by running locally on styleguidist with modified examples.
Release notes
SingleSelect