feat: add autofocus property on <Password> component
parent
3845ff8bba
commit
56b76bc96a
|
@ -138,6 +138,10 @@ export default {
|
||||||
ariaLabel: {
|
ariaLabel: {
|
||||||
type: String,
|
type: String,
|
||||||
default: null
|
default: null
|
||||||
|
},
|
||||||
|
autofocus: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
style: PasswordStyle,
|
style: PasswordStyle,
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:variant="variant"
|
:variant="variant"
|
||||||
:invalid="invalid"
|
:invalid="invalid"
|
||||||
|
:autofocus="autofocus"
|
||||||
@input="onInput"
|
@input="onInput"
|
||||||
@focus="onFocus"
|
@focus="onFocus"
|
||||||
@blur="onBlur"
|
@blur="onBlur"
|
||||||
|
|
Loading…
Reference in New Issue