mirror of https://github.com/ElemeFE/element
Input: fix prop valueKey doc (#9649)
parent
896cbb6323
commit
d8c931274d
|
@ -689,7 +689,7 @@ Attribute | Description | Type | Options | Default
|
|||
|----| ----| ----| ---- | -----|
|
||||
|placeholder| the placeholder of Autocomplete| string | — | — |
|
||||
|disabled | whether Autocomplete is disabled | boolean | — | false|
|
||||
| valueKey | key name of the input suggestion object for display | string | — | value |
|
||||
| value-key | key name of the input suggestion object for display | string | — | value |
|
||||
|icon | icon name | string | — | — |
|
||||
|value | binding value | string | — | — |
|
||||
| debounce | debounce delay when typing, in milliseconds | number | — | 300 |
|
||||
|
|
|
@ -668,7 +668,7 @@ Atributo | Descripción | Tipo | Opciones | Por defecto
|
|||
|----| ----| ----| ---- | -----|
|
||||
|placeholder| el placeholder del Autocomplete| string | — | — |
|
||||
|disabled | si el Autocompete esta deshabilitado | boolean | — | false|
|
||||
| valueKey | nombre del campo del objeto de sugerencia del input para la visualización | string | — | value |
|
||||
| value-key | nombre del campo del objeto de sugerencia del input para la visualización | string | — | value |
|
||||
|icon | nombre del icono | string | — | — |
|
||||
|value | valor enlazado | string | — | — |
|
||||
| debounce | retardo al escribir, en milisegundos | number | — | 300 |
|
||||
|
|
|
@ -848,7 +848,7 @@ export default {
|
|||
|------------- |---------------- |---------------- |---------------------- |-------- |
|
||||
| placeholder | 输入框占位文本 | string | — | — |
|
||||
| disabled | 禁用 | boolean | — | false |
|
||||
| valueKey | 输入建议对象中用于显示的键名 | string | — | value |
|
||||
| value-key | 输入建议对象中用于显示的键名 | string | — | value |
|
||||
| value | 必填值,输入绑定值 | string | — | — |
|
||||
| debounce | 获取输入建议的去抖延时 | number | — | 300 |
|
||||
| fetch-suggestions | 返回输入建议的方法,仅当你的输入建议数据 resolve 时,通过调用 callback(data:[]) 来返回它 | Function(queryString, callback) | — | — |
|
||||
|
|
Loading…
Reference in New Issue