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
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