How to use richtext in multifield (in CQ5 dialog)? (prevent “this.el.dom is undefined” error)
问题 I have created a custom component, and try to use RTE ( xtype="richtext" ) inside the multifiled in my dialog. Now, when I try to delete item, or after dialog was closed & reopened add another one the dialog will neither close, nor save the data with OK button. dialog.xml: <myField jcr:primaryType="cq:Widget" name="./myField" xtype="multifield"> <fieldConfig jcr:primaryType="cq:Widget" xtype="richtext"> </fieldConfig> </myField> Sham HC posted 2 solutions at AEM FAQ's: Use textfield instead