Skip to content

Commit

Permalink
Merge pull request #5211 from nextcloud-libraries/fix/select-label-wa…
Browse files Browse the repository at this point in the history
…rning

chore(NcSelect): Mention labelOutside for external label use
  • Loading branch information
susnux authored Feb 3, 2024
2 parents 1733f8d + bdfb68e commit 1b7db1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NcSelect/NcSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ export default {
mounted() {
if (!this.labelOutside && !this.inputLabel && !this.ariaLabelCombobox) {
Vue.util.warn('[NcSelect] An `inputLabel` or `ariaLabelCombobox` should be set.')
Vue.util.warn('[NcSelect] An `inputLabel` or `ariaLabelCombobox` should be set. If an external label is used, `labelOutside` should be set to `true`.')
}
if (this.inputLabel && this.ariaLabelCombobox) {
Vue.util.warn('[NcSelect] Only one of `inputLabel` or `ariaLabelCombobox` should to be set.')
Expand Down

0 comments on commit 1b7db1e

Please sign in to comment.