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]>
(cherry picked from commit 5099595)
  • Loading branch information
houhoucoop committed Feb 4, 2025
1 parent ca420a0 commit e0a5957
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 e0a5957

Please sign in to comment.