Skip to content

Commit

Permalink
Merge branch 'pu/jwolny/emptymultiselectquestion' into '2024.11'
Browse files Browse the repository at this point in the history
tweak(Tinebase/Ui): BAlert remoed on empty multiselect question

See merge request tine20/tine20!6356
  • Loading branch information
pschuele committed Dec 13, 2024
2 parents f6291dd + ee6c069 commit aec56b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<template>
<div>
<div v-if="questionText?.trim?.().startsWith('<')" v-html="questionText" class="mb-3"></div>
<BAlert v-else-if="questionText != ''" :variant="props.alertVariant ?? 'info'" :model-value="true">{{questionText}}</BAlert>
<BAlert v-else-if="questionText != null && questionText?.trim?.().length != 0" :variant="props.alertVariant ?? 'info'" :model-value="true">{{questionText}}</BAlert>
<BFormRadioGroup v-if="!props.allowMultiple" v-model="selectedOption" stacked>
<BFormRadio v-for="option in _options" :value="option.value" :key="option.value" :disabled="option.disabled">
<span v-if="option.text.trim().startsWith('<')" v-html="option.text"/>
Expand Down

0 comments on commit aec56b9

Please sign in to comment.