Hi,
Checking the 3.93.1-rc.0 version, the Not Rendered option, I see that if a modal is set as Not Rendered, you can’t assign values to it by JS until it is completely open.
Normally I reuse the same modal/Accordion… for multiple operations Create/Update or different actions and set by JS the data according to the action.
For example a modal with not Rendered set and a detail inside, this code does not work.
{{
ui.detail_not_render.setValue(state.init_data);
ui.modal_not_render.open()
}}
Another modal, with the Hidden parameter and a detail inside, works correctly.
{{
ui.detail_hidden.setValue(state.init_data);
ui.modal_hidden.open();
}}
Is there any way to assign the values dynamically via JS?, if the modal has the Not rendered value set. You can play with the On Open trigger and works, but it changes the logic and complicates the control of actions.
Thanks!!