diff --git a/docs/content/meta/ComboboxRoot.md b/docs/content/meta/ComboboxRoot.md
index fc21ca724..44d343170 100644
--- a/docs/content/meta/ComboboxRoot.md
+++ b/docs/content/meta/ComboboxRoot.md
@@ -82,8 +82,8 @@
'default': 'true'
},
{
- 'name': 'clearSearchTermOnSelect',
- 'description': '
Whether to clear the searchTerm when the Combobox value is selected
\n',
+ 'name': 'resetSearchTermOnSelect',
+ 'description': 'Whether to reset the searchTerm when the Combobox value is selected
\n',
'type': 'boolean',
'required': false,
'default': 'true'
diff --git a/packages/radix-vue/src/Combobox/ComboboxRoot.vue b/packages/radix-vue/src/Combobox/ComboboxRoot.vue
index 9a959ef16..f74ff109d 100644
--- a/packages/radix-vue/src/Combobox/ComboboxRoot.vue
+++ b/packages/radix-vue/src/Combobox/ComboboxRoot.vue
@@ -76,10 +76,10 @@ export interface ComboboxRootProps extends PrimitiveProps {
*/
resetSearchTermOnBlur?: boolean
/**
- * Whether to clear the searchTerm when the Combobox value is selected
+ * Whether to reset the searchTerm when the Combobox value is selected
* @defaultValue `true`
*/
- clearSearchTermOnSelect?: boolean
+ resetSearchTermOnSelect?: boolean
}
@@ -94,7 +94,7 @@ import isEqual from 'fast-deep-equal'
const props = withDefaults(defineProps>(), {
open: undefined,
resetSearchTermOnBlur: true,
- clearSearchTermOnSelect: true,
+ resetSearchTermOnSelect: true,
})
const emit = defineEmits>()
@@ -218,7 +218,7 @@ const stringifiedModelValue = computed(() => JSON.stringify(modelValue.value))
// nextTick() are required in the following watchers as we are waiting for DOM element to be mounted first the only apply following logic
watch(stringifiedModelValue, async () => {
- if (!props.clearSearchTermOnSelect)
+ if (!props.resetSearchTermOnSelect)
return
await nextTick()