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
When you click 'show/hide form', then the form will be removed because of the 'v-if'. When clicking the button again, the form should re-appear, but this won't happen, because of the 'alreadyRendered' that is set in the form-object(s).
Some alterations are needed to allow re-enabling the form. Probably something like vue's 'destroyed' might be useful to undo the 'alreadyRendered', but maybe there are some better alternatives as the 'v-if' en 'alreadyRendered' can cause other problems as well.
The text was updated successfully, but these errors were encountered:
I'm not sure yet about alternatives; Using v-if with form-rendering seems to be a bad idea to begin with, since the fields may be required by Symfony's form. It'd be beter to use v-show.
Example code:
When you click 'show/hide form', then the form will be removed because of the 'v-if'. When clicking the button again, the form should re-appear, but this won't happen, because of the 'alreadyRendered' that is set in the form-object(s).
Some alterations are needed to allow re-enabling the form. Probably something like vue's 'destroyed' might be useful to undo the 'alreadyRendered', but maybe there are some better alternatives as the 'v-if' en 'alreadyRendered' can cause other problems as well.
The text was updated successfully, but these errors were encountered: