diff --git a/src/components/vue-form-builder.vue b/src/components/vue-form-builder.vue index 9ee13f129..7c589abad 100644 --- a/src/components/vue-form-builder.vue +++ b/src/components/vue-form-builder.vue @@ -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" @@ -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"