Skip to content

Commit

Permalink
fix: When drag and dropping a Header field (and other types) in enhan…
Browse files Browse the repository at this point in the history
…cedBootstrap mode the preview needs to be cleaned of row- and col- classes otherwise and invalid field element is placed on the stage.
  • Loading branch information
lucasnetau committed Oct 4, 2023
1 parent 49b3363 commit 35d8ea5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/form-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,7 @@ function FormBuilder(opts, element, $) {
if (listFieldItem.length) {
CheckTinyMCETransition(listFieldItem)
UpdatePreviewAndSave(listFieldItem)
h.tmpCleanPrevHolder($(ui.item).find('.prev-holder'))
}
},
start: function () {
Expand Down

0 comments on commit 35d8ea5

Please # to comment.