You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In triggerChange function, why not ignore setInnerValue when value present, i.e. controlled mode. I suppose innerValue does not take any effect in controlled mode though.
In addition, it should be nice to add some logic detecting the switch controlled and uncontrolled mode, throw an error/warning as native react dose facebook/react#5821.
Not sure if I am missing some points though, if the above idea make any sense. I am glad to implement the code
The text was updated successfully, but these errors were encountered:
In
triggerChange
function, why not ignoresetInnerValue
whenvalue
present, i.e. controlled mode. I supposeinnerValue
does not take any effect in controlled mode though.In addition, it should be nice to add some logic detecting the switch controlled and uncontrolled mode, throw an error/warning as native react dose facebook/react#5821.
Not sure if I am missing some points though, if the above idea make any sense. I am glad to implement the code
The text was updated successfully, but these errors were encountered: