mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
docs: remove auto-complete of input and select (#1437)
This commit is contained in:
@@ -475,7 +475,7 @@ export default defineComponent({
|
||||
const handleSelect = (item) => {
|
||||
console.log(item);
|
||||
};
|
||||
|
||||
|
||||
const handleIconClick = (ev) => {
|
||||
console.log(ev);
|
||||
};
|
||||
@@ -622,7 +622,6 @@ export default defineComponent ({
|
||||
|rows | number of rows of textarea, only works when `type` is 'textarea' | number | — | 2 |
|
||||
|autosize | whether textarea has an adaptive height, only works when `type` is 'textarea'. Can accept an object, e.g. { minRows: 2, maxRows: 6 } | boolean / object | — | false |
|
||||
|autocomplete | same as `autocomplete` in native input | string | on/off | off |
|
||||
|auto-complete | @DEPRECATED in next major version | string | on/off | off |
|
||||
|name | same as `name` in native input | string | — | — |
|
||||
| readonly | same as `readonly` in native input | boolean | — | false |
|
||||
|max | same as `max` in native input | — | — | — |
|
||||
|
||||
@@ -197,7 +197,7 @@ Multiple select uses tags to display selected options.
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
|
||||
|
||||
<el-select
|
||||
v-model="value2"
|
||||
multiple
|
||||
@@ -537,7 +537,6 @@ If the binding value of Select is an object, make sure to assign `value-key` as
|
||||
| multiple-limit | maximum number of options user can select when `multiple` is `true`. No limit when set to 0 | number | — | 0 |
|
||||
| name | the name attribute of select input | string | — | — |
|
||||
| autocomplete | the autocomplete attribute of select input | string | — | off |
|
||||
| auto-complete | @DEPRECATED in next major version | string | — | off |
|
||||
| placeholder | placeholder | string | — | Select |
|
||||
| filterable | whether Select is filterable | boolean | — | false |
|
||||
| allow-create | whether creating new items is allowed. To use this, `filterable` must be true | boolean | — | false |
|
||||
|
||||
@@ -485,7 +485,7 @@ export default defineComponent({
|
||||
const handleSelect = (item) => {
|
||||
console.log(item);
|
||||
};
|
||||
|
||||
|
||||
const handleIconClick = (ev) => {
|
||||
console.log(ev);
|
||||
};
|
||||
@@ -636,7 +636,6 @@ export default defineComponent ({
|
||||
| rows | número de filas, sólo funciona cuando `type` es `textarea`. | number | — | 2 |
|
||||
| autosize | si textarea tiene una altura adaptativa, sólo funciona cuando el`type` es `textarea`. Puede aceptar un objeto, p. ej. { minRows: 2, maxRows: 6 } | boolean / object | — | false |
|
||||
| autocomplete | igual que `autocomplete` en el input nativo | string | on/off | off |
|
||||
| auto-complete | @DEPRECATED en el próximo cambio mayor de versión | string | on/off | off |
|
||||
| name | igual que `name` en el input nativo | string | — | — |
|
||||
| readonly | igual que `readonly` en el input nativo | boolean | — | false |
|
||||
| max | igual que `max` en el input nativo | — | — | — |
|
||||
|
||||
@@ -544,7 +544,6 @@ Si el valor de encuadernación de Select es un objeto, asegúrese de asignar `va
|
||||
| multiple-limit | máximo numero de opciones que el usuario puede seleccionar cuando `multiple` es `true`. Sin límite cuando se fija a 0 | number | — | 0 |
|
||||
| name | el atributo `name` del input seleccionado | string | — | — |
|
||||
| autocomplete | el atributo `autocomplete` del input seleccionado | string | — | off |
|
||||
| auto-complete | @DEPRECATED en la proxima major versión | string | — | off |
|
||||
| placeholder | placeholder | string | — | Select |
|
||||
| filterable | si Select es filtrable | boolean | — | false |
|
||||
| allow-create | si esta permitido crear nuevos items. Para usar esto, `filterable` debe ser `true`. | boolean | — | false |
|
||||
|
||||
@@ -473,7 +473,7 @@ export default defineComponent({
|
||||
const handleSelect = (item) => {
|
||||
console.log(item);
|
||||
};
|
||||
|
||||
|
||||
const handleIconClick = (ev) => {
|
||||
console.log(ev);
|
||||
};
|
||||
@@ -621,7 +621,6 @@ export default defineComponent ({
|
||||
| rows | Nombre de ligne pour une zone de texte, ne marche que si `type` est 'textarea'. | number | — | 2 |
|
||||
| autosize | Si la zone de texte à une hauteur adaptative, ne marche que si `type` est 'textarea'. Peut accepter un objet, e.g. { minRows: 2, maxRows: 6 } | boolean / object | — | false |
|
||||
| autocomplete | Identique à `autocomplete` dans l'input natif. | string | on / off | off |
|
||||
| auto-complete | @DEPRECATED dans la prochaine version majeure. | string | on/off | off |
|
||||
| name | Identique à `name` dans l'input natif. | string | — | — |
|
||||
| readonly | Identique à `readonly` dans l'input natif. | boolean | — | false |
|
||||
| max | Identique à `max` dans l'input natif. | — | — | — |
|
||||
|
||||
@@ -540,7 +540,6 @@ Si la valeur de Select est un objet, assurez-vous d'utiliser `value-key` comme i
|
||||
| multiple-limit | Nombre maximum d'options multiples sélectionnable. Pas de limites quand est à 0. | number | — | 0 |
|
||||
| name | L'attribut name natif du sélecteur. | string | — | — |
|
||||
| autocomplete | L'attribut autocomplete natif du sélecteur. | string | — | off |
|
||||
| auto-complete | @DEPRECATED dans la prochaine version majeure. | string | — | off |
|
||||
| placeholder | Le placeholder du champ. | string | — | Select |
|
||||
| filterable | Si les options sont filtrables. | boolean | — | false |
|
||||
| allow-create | Si l'utilisateur peut créer des options. Dans ce cas `filterable` doit être activé. | boolean | — | false |
|
||||
|
||||
@@ -475,7 +475,7 @@ export default defineComponent({
|
||||
const handleSelect = (item) => {
|
||||
console.log(item);
|
||||
};
|
||||
|
||||
|
||||
const handleIconClick = (ev) => {
|
||||
console.log(ev);
|
||||
};
|
||||
@@ -622,7 +622,6 @@ export default defineComponent ({
|
||||
|rows | textareaの行数、`type`が'textarea'の場合にのみ動作します。 | number | — | 2 |
|
||||
|autosize | textareaが適応的な高さを持つかどうか、`type`が'textarea'の場合にのみ動作します。オブジェクトを受け取ることができます。 e.g. { minRows: 2, maxRows: 6 } | boolean / object | — | false |
|
||||
|autocomplete | ネイティブインプットの `autocomplete` と同じ | string | on/off | off |
|
||||
|auto-complete | @DEPRECATED in next major version | string | on/off | off |
|
||||
|name | ネイティブインプットの `name` と同じ | string | — | — |
|
||||
| readonly | ネイティブインプットの `readonly` と同じ | boolean | — | false |
|
||||
|max | ネイティブインプットの `max` と同じ | — | — | — |
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
|
||||
|
||||
<el-select
|
||||
v-model="value2"
|
||||
multiple
|
||||
@@ -537,7 +537,6 @@
|
||||
| multiple-limit | `multiple` が `true` のときにユーザがセレクトできるオプションの最大数。0に設定した場合は無制限 | number | — | 0 |
|
||||
| name | セレクト入力の名前属性 | string | — | — |
|
||||
| autocomplete | セレクト入力のオートコンプリート属性 | string | — | off |
|
||||
| auto-complete | 次期メジャーバージョンでは@DEPRECATED | string | — | off |
|
||||
| placeholder | プレースホルダー | string | — | Select |
|
||||
| filterable | セレクトがフィルタリング可能かどうか | boolean | — | false |
|
||||
| allow-create | 新しいアイテムの作成を許可するかどうかを指定します。これを使うには、`filterable` がtrueでなければなりません。 | boolean | — | false |
|
||||
|
||||
@@ -707,7 +707,7 @@ export default defineComponent({
|
||||
const handleSelect = (item) => {
|
||||
console.log(item);
|
||||
};
|
||||
|
||||
|
||||
const handleIconClick = (ev) => {
|
||||
console.log(ev);
|
||||
};
|
||||
@@ -964,7 +964,6 @@ export default defineComponent ({
|
||||
| rows | 输入框行数,只对 `type="textarea"` 有效 | number | — | 2 |
|
||||
| autosize | 自适应内容高度,只对 `type="textarea"` 有效,可传入对象,如,{ minRows: 2, maxRows: 6 } | boolean / object | — | false |
|
||||
| autocomplete | 原生属性,自动补全 | string | on, off | off |
|
||||
| auto-complete | 下个主版本弃用 | string | on, off | off |
|
||||
| name | 原生属性 | string | — | — |
|
||||
| readonly | 原生属性,是否只读 | boolean | — | false |
|
||||
| max | 原生属性,设置最大值 | — | — | — |
|
||||
|
||||
@@ -532,7 +532,6 @@
|
||||
| multiple-limit | 多选时用户最多可以选择的项目数,为 0 则不限制 | number | — | 0 |
|
||||
| name | select input 的 name 属性 | string | — | — |
|
||||
| autocomplete | select input 的 autocomplete 属性 | string | — | off |
|
||||
| auto-complete | 下个主版本弃用 | string | — | off |
|
||||
| placeholder | 占位符 | string | — | 请选择 |
|
||||
| filterable | 是否可搜索 | boolean | — | false |
|
||||
| allow-create | 是否允许用户创建新条目,需配合 `filterable` 使用 | boolean | — | false |
|
||||
|
||||
Reference in New Issue
Block a user