Skip to content

Commit

Permalink
Fixing preview and design color Modes
Browse files Browse the repository at this point in the history
  • Loading branch information
CarliPinell committed Nov 13, 2024
1 parent 0768180 commit 6d2a229
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/vue-form-builder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,7 @@
v-model="element.items"
:validation-errors="validationErrors"
class="card-body"
:class="styleMode === 'Modern' && element.component === 'FormRecordList'
? elementCssClassModern(element)
: elementCssClass(element)"
:class="elementCssClass(element)"
:selected="selected"
:config="element.config"
:ai-element="element"
Expand Down Expand Up @@ -321,9 +319,7 @@
:tabindex="element.config.interactive ? 0 : -1"
class="card-body m-0 pb-4 pt-4"
:class="[
styleMode === 'Modern' && element.component === 'FormRecordList'
? elementCssClassModern(element)
: elementCssClass(element),
elementCssClass(element),
{ 'prevent-interaction': !element.config.interactive }
]"
:screen-type="screenType"
Expand Down

0 comments on commit 6d2a229

Please sign in to comment.