You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to not having a dedicated event for listening to formBuilder data changes such as "onFormDataChange" event or similar, I resorted to listening to the following events simultaneously "formSaved", "fieldEditOpened", "fieldEditClosed".
What I want to achieve is to execute a function (rendering the form) when any of the following happens:
any field is added
any field is removed
any field attribute is edited
fields order changes
The "formSaved" achieves 1, 2 and partly 4. The event is triggered when the fields order changes from drag&drop with sortable, but it doesn't trigger when sort buttons are clicked (field is moved higher or lower).
Environment Details:
formBuilder Version: 3.19.13
Browser: Chrome
OS: MacOS 14.6.1
Expected Behavior
"formSaved" event should be triggered when:
fields are moved up or down using the "sort" buttons.
fields are dragged and dropped
Actual Behavior
"formSaved" event is NOT triggered when fields are moved up or down using the "sort" buttons.
Description:
This extends #49. I am trying to show a live preview of the form.
The issue can be spotted into the codepen from the original issue (https://codepen.io/kevinchappell/pen/ZQqwLp).
Due to not having a dedicated event for listening to formBuilder data changes such as "onFormDataChange" event or similar, I resorted to listening to the following events simultaneously "formSaved", "fieldEditOpened", "fieldEditClosed".
What I want to achieve is to execute a function (rendering the form) when any of the following happens:
The "formSaved" achieves 1, 2 and partly 4. The event is triggered when the fields order changes from drag&drop with sortable, but it doesn't trigger when sort buttons are clicked (field is moved higher or lower).
Environment Details:
Expected Behavior
"formSaved" event should be triggered when:
Actual Behavior
"formSaved" event is NOT triggered when fields are moved up or down using the "sort" buttons.
Steps to Reproduce
https://codepen.io/kevinchappell/pen/ZQqwLp
Screenshot - (optional)
The text was updated successfully, but these errors were encountered: