mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
feat(auto-complete): disabled
This commit is contained in:
parent
cc58f5410a
commit
994b4aa2a3
@ -14,6 +14,7 @@ after-select
|
|||||||
|-|-|-|-|
|
|-|-|-|-|
|
||||||
|blur-after-select|`boolean`|`false`||
|
|blur-after-select|`boolean`|`false`||
|
||||||
|clear-after-select|`boolean`|`false`||
|
|clear-after-select|`boolean`|`false`||
|
||||||
|
|disabled|`boolean`|`false`||
|
||||||
|options|`Array<string \| AutoCompleteOption \| AutoCompleteOptionGroup>`|`[]`||
|
|options|`Array<string \| AutoCompleteOption \| AutoCompleteOptionGroup>`|`[]`||
|
||||||
|placeholder|`string`|`'Please Input'`||
|
|placeholder|`string`|`'Please Input'`||
|
||||||
|size|`'small' \| 'medium' \| 'large'`|`'medium'`||
|
|size|`'small' \| 'medium' \| 'large'`|`'medium'`||
|
||||||
|
@ -14,6 +14,7 @@ after-select
|
|||||||
|-|-|-|-|
|
|-|-|-|-|
|
||||||
|blur-after-select|`boolean`|`false`||
|
|blur-after-select|`boolean`|`false`||
|
||||||
|clear-after-select|`boolean`|`false`||
|
|clear-after-select|`boolean`|`false`||
|
||||||
|
|disabled|`boolean`|`false`||
|
||||||
|options|`Array<string \| AutoCompleteOption \| AutoCompleteOptionGroup>`|`[]`||
|
|options|`Array<string \| AutoCompleteOption \| AutoCompleteOptionGroup>`|`[]`||
|
||||||
|placeholder|`string`|`'请输入'`||
|
|placeholder|`string`|`'请输入'`||
|
||||||
|size|`'small' \| 'medium' \| 'large'`|`'medium'`||
|
|size|`'small' \| 'medium' \| 'large'`|`'medium'`||
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
:value="value"
|
:value="value"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
:size="mergedSize"
|
:size="mergedSize"
|
||||||
|
:disabled="disabled"
|
||||||
@focus="canBeActivated = true"
|
@focus="canBeActivated = true"
|
||||||
@input="handleInput"
|
@input="handleInput"
|
||||||
@blur="handleBlur"
|
@blur="handleBlur"
|
||||||
@ -110,6 +111,10 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: undefined
|
default: undefined
|
||||||
},
|
},
|
||||||
|
disabled: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
placeholder: {
|
placeholder: {
|
||||||
type: String,
|
type: String,
|
||||||
default: undefined
|
default: undefined
|
||||||
|
Loading…
Reference in New Issue
Block a user