Draggable / formeo

Drag & Drop Form Builder
http://draggable.github.io/formeo/
MIT License
534 stars 196 forks source link

fix: data updates when modifying preview #365

Closed kevinchappell closed 2 weeks ago

kevinchappell commented 2 weeks ago

there was a bug where the form data was not correctly updated when editing the preview in the editor. for example if you add a value to an input, it is expected that this would add a value in the field edit window. likewise when checking a checkbox or clicking a radio button, the options in the edit window should reflect the choice from the preview.

this PR adds back some tests and minor performance improvements to prevent unnecessary dom re-render

kevinchappell commented 2 weeks ago

:tada: This PR is included in version 2.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: