Skip to content

Commit

Permalink
fix: fix error
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Medvedev <[email protected]>
  • Loading branch information
EldarMuhamethanov and andrey-medvedev-vk authored Oct 31, 2024
1 parent e871f60 commit 7168752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vkui/src/components/CustomSelect/CustomSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ export function CustomSelect<OptionInterfaceT extends CustomSelectOptionInterfac
const selectOption = React.useCallback(
(index: number) => {
const item = options[index];
setNativeSelectValue(item?.value ?? NOT_SELECTED);
setNativeSelectValue(item?.value ?? NOT_SELECTED.NATIVE);
close();

const shouldTriggerOnChangeWhenControlledAndInnerValueIsOutOfSync =
Expand Down

0 comments on commit 7168752

Please sign in to comment.