mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
feat: add autofocus property on <Password> component
This commit is contained in:
parent
3845ff8bba
commit
56b76bc96a
2 changed files with 5 additions and 0 deletions
|
@ -138,6 +138,10 @@ export default {
|
|||
ariaLabel: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
autofocus: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
style: PasswordStyle,
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
:disabled="disabled"
|
||||
:variant="variant"
|
||||
:invalid="invalid"
|
||||
:autofocus="autofocus"
|
||||
@input="onInput"
|
||||
@focus="onFocus"
|
||||
@blur="onBlur"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue