Skip to content

Commit

Permalink
feat: only show tag prompts if isSearchable
Browse files Browse the repository at this point in the history
Signed-off-by: Yi-Ya Chen <[email protected]>
  • Loading branch information
houhoucoop committed Jan 20, 2025
1 parent a153268 commit 1d6df35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/components/form/LabeledSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default {
// update placeholder text to inform user they can add their own opts when none are found
showTagPrompts() {
return !this.options.length && this.$attrs.taggable;
return !this.options.length && this.$attrs.taggable && this.isSearchable;
}
},
Expand Down

0 comments on commit 1d6df35

Please sign in to comment.