mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix: add input placeholder type (#814)
* fix: add input placeholder type * chore: update
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
:autocomplete="autocomplete"
|
||||
:tabindex="tabindex"
|
||||
:aria-label="label"
|
||||
:placeholder="placeholder"
|
||||
@compositionstart="handleCompositionStart"
|
||||
@compositionupdate="handleCompositionUpdate"
|
||||
@compositionend="handleCompositionEnd"
|
||||
@@ -168,6 +169,9 @@ export default defineComponent({
|
||||
default: 'off',
|
||||
validator: (val: string) => ['on', 'off'].includes(val),
|
||||
},
|
||||
placeholder: {
|
||||
type: String,
|
||||
},
|
||||
form: {
|
||||
type: String,
|
||||
default: '',
|
||||
|
||||
Reference in New Issue
Block a user