Skip to content

Commit

Permalink
Merge pull request #6483 from C17AN/fix/6413
Browse files Browse the repository at this point in the history
fix(Password): add 'autofocus' property on Password component
  • Loading branch information
tugcekucukoglu authored Sep 27, 2024
2 parents 7ddf56d + 56b76bc commit 60a3501
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/primevue/src/password/BasePassword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ export default {
ariaLabel: {
type: String,
default: null
},
autofocus: {
type: Boolean,
default: false
}
},
style: PasswordStyle,
Expand Down
1 change: 1 addition & 0 deletions packages/primevue/src/password/Password.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
:disabled="disabled"
:variant="variant"
:invalid="invalid"
:autofocus="autofocus"
@input="onInput"
@focus="onFocus"
@blur="onBlur"
Expand Down

0 comments on commit 60a3501

Please sign in to comment.