Has anyone got a chance to extend an AEM Forms Component? for eg. File Attachment Component
AEM v. 6.5.8
I tried using resourceSuperType like we do for normal AEM component but it just breaks the form.
sling:resourceSuperType="fd/af/components/guidefileupload"
Getting the following error on console:
guideRuntime.min.js:1082 TypeError: Cannot read properties of undefined (reading 'priority')
at getAttribute (VM1484 guideRuntime.min.js:624:448)
at get (VM1484 guideRuntime.min.js:645:118)
at g._collectExpressions (VM1484 guideRuntime.min.js:632:279)
at g.initialize (VM1484 guideRuntime.min.js:631:359)
at g.initialize (VM1484 guideRuntime.min.js:869:153)
at g.c.ut.Class (VM1484 guideRuntime.min.js:14:187)
at g [as constructor] (VM1484 guideRuntime.min.js:13:120)
at g [as constructor] (VM1484 guideRuntime.min.js:13:120)
at g [as constructor] (VM1484 guideRuntime.min.js:13:120)
at new g (VM1484 guideRuntime.min.js:13:120)
e.model.fireOnContainerDomElementReady @ guideRuntime.min.js:1082
window.guidelib.__runtime__.target.loadExperience @ test2.html?wcmmode=preview:941
(anonymous) @ test2.html?wcmmode=preview:949
guideRuntime.min.js:1076 Uncaught TypeError: Cannot read properties of undefined (reading 'runtime')
at Object.e.model.mergeData (VM1484 guideRuntime.min.js:1076:164)
at Object.e.model.fireOnContainerDomElementReady (VM1484 guideRuntime.min.js:1082:493)
at Object.window.guidelib.__runtime__.target.loadExperience (test2.html?wcmmode=preview:941:39)
at test2.html?wcmmode=preview:949:48