Merge pull request #6483 from C17AN/fix/6413

fix(Password): add 'autofocus' property on Password component
pull/6493/head
Tuğçe Küçükoğlu 2024-09-27 09:01:59 +03:00 committed by GitHub
commit 60a3501502
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -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,

View File

@ -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"