Skip to content

Commit

Permalink
tweak(Tinebase/Ui): BAlert remoed on empty multiselect question
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper Wolny committed Dec 12, 2024
1 parent fb4c59d commit ee6c069
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 ee6c069

Please sign in to comment.