Skip to content

Commit 315e030

Browse files
authored
Update custom-select.lite.tsx
1 parent 77f4d2c commit 315e030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/components/custom-select/custom-select.lite.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ export default function DBCustomSelect(props: DBCustomSelectProps) {
697697
(Array.isArray(props.values) && props.values?.length === 0)
698698
) {
699699
// Handle the case where props.values is empty/null/undefined
700-
// but state._values still contains items that need to be cleared
700+
// but state._values may still contain items that need to be cleared
701701
// This fixes issues with form validation libraries that reset values
702702
state._values = [];
703703
}

0 commit comments

Comments
 (0)