How to make the portal (Containing embedded sections) read only on click of Cancel button
We have a requirement, where we need to make the entire portal read only on click of a button. Here, we have multiple sections embedded and under that other dynamic layouts containing Buttons and dropdown are present. On giving, Read only condition on top sections will not make any impact on other section available inside and on It's other Fields.
Please suggest, If we can achieve this without giving disable conditions at each Input fields.
If screen contains single section, it will work after giving read only condition.
But, If multiple sections and Dynamic Layouts are there within a main section then we need to put read only condition at every individual section, dynamic layout and Buttons/Dropdown. Then everything is getting disabled. Which may not be the right approach as condition will be checked at each level every time.
Few inside sections may be from different class and not with the same class as of their parent section.