Skip to content

Commit

Permalink
Merge pull request #3635 from cwerstuik/fix/SelectInput
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny authored Oct 17, 2023
2 parents 99f46a0 + 0aa8f49 commit bd5fbb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ContactDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -752,10 +752,10 @@ export default {
},

/**
* Select the text in the input if it is still set to 'new Contact'
* Select the text in the input if it is still set to 'Name'
*/
selectInput() {
if (this.$refs.fullname && this.$refs.fullname.value === t('contacts', 'New contact')) {
if (this.$refs.fullname && this.$refs.fullname.value === t('contacts', 'Name')) {
this.$refs.fullname.select()
}
},
Expand Down

0 comments on commit bd5fbb9

Please sign in to comment.