Skip to content

Commit

Permalink
[@mantine/core] Select: Fix search text not updating
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaden Gregory committed Sep 21, 2023
1 parent 41d11ee commit 5404985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-core/src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export const Select = factory<SelectFactory>((_props, ref) => {
if (typeof value === 'string' && optionsLockup[value]) {
setSearch(optionsLockup[value].label);
}
}, [value]);
}, [value, optionsLockup]);

return (
<>
Expand Down

0 comments on commit 5404985

Please sign in to comment.