Skip to content

Commit

Permalink
Reset value when switching link types
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Oct 7, 2021
1 parent 0e5996b commit 57c7f74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/js/components/MenuBuilderField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ export default {
updateLinkType(linkType) {
this.linkType = this.menuItemTypes.find(type => type.class === linkType);
this.newItem.value = '';
},
},
};
Expand Down

0 comments on commit 57c7f74

Please sign in to comment.