Skip to content

Commit

Permalink
fix(Combobox): ComboboxItem error message for empty 'value' prop (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
romansp authored Jul 8, 2024
1 parent c4d92fe commit ee5ee67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/radix-vue/src/Combobox/ComboboxItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async function handlePointerMove(event: PointerEvent) {
if (props.value === '') {
throw new Error(
'A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.',
'A <ComboboxItem /> must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.',
)
}
Expand Down

0 comments on commit ee5ee67

Please sign in to comment.