Skip to content

Commit

Permalink
feat(place-input): hide new info badge and tooltip when simple place …
Browse files Browse the repository at this point in the history
…input is focused
  • Loading branch information
amoncaldas committed Aug 4, 2021
1 parent 4c93ed9 commit 01e9923
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/fragments/forms/place-input/place-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ export default {
inputFocused (event) {
event.stopPropagation()
event.preventDefault()
this.$emit('focused', true)
},
appendClicked(event) {
console.log(event)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
@selected="selectPlace"
@startDirections="openDirectionsMode"
@searchChanged="search"
@focused="inputFocused"
@cleared="placeCleared">
</place-input>
</v-form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ export default {
this.newInfoAvailable = false
},

inputFocused () {
this.newInfoAvailable = false
},

/**
* When there is already a place selected
* and the route action is called, open the
Expand Down

0 comments on commit 01e9923

Please sign in to comment.