Form Checkbox Customization Story
I am working on customizing the Form Checkbox Group. This form checkbox group basically contain a multified where you can add number of checkboxes. This multified is of default text-field type. The need is to replace this textfield to a rich-text, so that the text in it will have the rich text capabilities. I have edited the checkbox component and added a field-config node of cq:Widget type and xytpe rich-text. On dialog level the textfield got replaced with richtext which in case is the need.
The problem is after refresing the page, first time on editing the dialog the rich text works ok. But on editing second time it throws a JS error Uncaught Type error: cannot set property ‘value ’of undefined on richtext.js available at /libs/cq/ui/widgets/source/widgets/form/RichText.js.
This was the one work around I did, but got stuck. Is there any other work around for this or any solution approach to handle this error.