diff --git a/examples/docs/en-US/input.md b/examples/docs/en-US/input.md index 9569f019..0a57f01a 100644 --- a/examples/docs/en-US/input.md +++ b/examples/docs/en-US/input.md @@ -659,6 +659,7 @@ Attribute | Description | Type | Options | Default | Event Name | Description | Parameters | |----| ----| ----| |select | triggers when a suggestion is clicked | suggestion being clicked | +| change | triggers when the icon inside Input value change | (value: string \| number) | ### Autocomplete Methods diff --git a/examples/docs/es/input.md b/examples/docs/es/input.md index 3835a4f7..94cb72e5 100644 --- a/examples/docs/es/input.md +++ b/examples/docs/es/input.md @@ -674,6 +674,7 @@ export default { | Nombre | Descripción | Parametros | | ------ | ----------------------------------------------- | ------------------------------------------ | | select | se dispara cuando se hace clic a una sugerencia | sugerencia en la que se está haciendo clic | +| change | se activa cuando cambia el valor de entrada | (value: string \| number) | ### Autocomplete Metodo diff --git a/examples/docs/fr-FR/input.md b/examples/docs/fr-FR/input.md index cb215d9c..c9266aab 100644 --- a/examples/docs/fr-FR/input.md +++ b/examples/docs/fr-FR/input.md @@ -660,6 +660,7 @@ export default { | Nom | Description | Paramètres | |----| ----| ----| | select | Se déclenche quand une suggestion est cliquée. | La suggestion sélectionnée. | +| change | Se déclenche quand la valeur change. | (value: string \ number) | ### Méthodes de l'autocomplétion diff --git a/examples/docs/zh-CN/input.md b/examples/docs/zh-CN/input.md index 7c478317..03f394b6 100644 --- a/examples/docs/zh-CN/input.md +++ b/examples/docs/zh-CN/input.md @@ -769,6 +769,7 @@ export default { | 事件名称 | 说明 | 回调参数 | |---------|--------|---------| | select | 点击选中建议项时触发 | 选中建议项 | +| change | 在 Input 值改变时触发 | (value: string \| number) | ### Autocomplete Methods | 方法名 | 说明 | 参数 | diff --git a/packages/autocomplete/src/autocomplete.vue b/packages/autocomplete/src/autocomplete.vue index 2ce802b0..ee32e60a 100644 --- a/packages/autocomplete/src/autocomplete.vue +++ b/packages/autocomplete/src/autocomplete.vue @@ -10,7 +10,8 @@