Skip to content

Commit

Permalink
feat: add autofocus property on <Password> component
Browse files Browse the repository at this point in the history
  • Loading branch information
김찬민 committed Sep 27, 2024
1 parent 3845ff8 commit 56b76bc
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 56b76bc

Please sign in to comment.