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
Fix:
I do not wanted to move logic for calculation of filtered option in render method as that calculation may not be needed each time combobox is rendered. I have rather moved it to a variable (instance variable) of ComboBox, so that we calculate it only when:
FilteredOptions in ComboBox are derived from other state variables and should not be part of state. Also its creating this issue reported by @bvleur :
"If you arrive at a input value matching an option by pressing backspace, the isMatchingOption won't be set to true."
The text was updated successfully, but these errors were encountered: