Open lpatiny opened 4 years ago
In a twig form template when a variable is undefined we have a blank event but not an update event.
blank
update
This has as consequence that the form disappear.
I would like that even if an input variable is undefined the rendering of the form still happens.
It can be test in the following testcase if you click on the button of the bottom executor module.
http://127.0.0.1:5501/src/index.html?config=../testcase/config/default.json&viewURL=../testcase/data/twig-form-light/view.json&dataURL=../testcase/data/twig-form-light/data.json
So this is not a regression right? And it's not specifically linked to the twig module? All modules behave like this when receiving an undefined value?
In a twig form template when a variable is undefined we have a
blank
event but not anupdate
event.This has as consequence that the form disappear.
I would like that even if an input variable is undefined the rendering of the form still happens.
It can be test in the following testcase if you click on the button of the bottom executor module.
http://127.0.0.1:5501/src/index.html?config=../testcase/config/default.json&viewURL=../testcase/data/twig-form-light/view.json&dataURL=../testcase/data/twig-form-light/data.json