We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 271e466 commit 03f6346Copy full SHA for 03f6346
packages/common/src/use-select/use-select.js
@@ -114,7 +114,7 @@ const useSelect = ({
114
}, [loadOptionsStr, loadOptionsChangeCounter]);
115
116
useEffect(() => {
117
- if (state.isInitialLoaded) {
+ if (!isEqual(state.options, propsOptions) && state.isInitialLoaded) {
118
if (!noValueUpdates && value && !propsOptions.map(({ value }) => value).includes(value)) {
119
onChange(undefined);
120
}
0 commit comments