Hi,
How to conditionally disable the richtext field in the dialog using jQuery? (rte created using sling:resourceType - cq/gui/components/authoring/dialog/richtext)
I have a checkbox. when this checkbox is checked, richtext field in the dialog needs to be disabled
Thanks in advance
Solved! Go to Solution.
Views
Replies
Total Likes
Below is the link which explains step by step logic for hiding and showing a field in the dialog using extra Jquery logic which can be replicated to your usecase as well.
https://stackoverflow.com/questions/25244844/conditional-show-hide-of-fields-in-aem-6-dialogs
Hope this is useful
Hi @BrianKasingli,
Edited my query to give more clarity. Thanks!
use extra clientlibs to load your jquery on the dialog and you can manipulate the logic however you want.
-Sravan
Below is the link which explains step by step logic for hiding and showing a field in the dialog using extra Jquery logic which can be replicated to your usecase as well.
https://stackoverflow.com/questions/25244844/conditional-show-hide-of-fields-in-aem-6-dialogs
Hope this is useful
@Dolly I believe, you can just create a custom dialog clientlib, and write your JQuery for the same and include that in the extraclientlib node of the dialog which will solely load the clientlib to your component.
eg:
Views
Likes
Replies