Was more form issues, forms that get loaded in won't render.
Fix:
On page load, "iris.forms.renderForm" isn't a function, so nothing will happen. But on page load, all forms get rendered and their callback methods will run.
After page load, iris.forms.renderForm(formId) will exist, all new loaded forms will run this method to render.
iris.forms frontend keeps a cache of rendered forms so will not render the same form twice.
Was more form issues, forms that get loaded in won't render.
Fix: On page load, "iris.forms.renderForm" isn't a function, so nothing will happen. But on page load, all forms get rendered and their callback methods will run.
After page load, iris.forms.renderForm(formId) will exist, all new loaded forms will run this method to render.
iris.forms frontend keeps a cache of rendered forms so will not render the same form twice.
Signed-off-by: Alex Bor alexhbor@gmail.com