Fields disabled in old Content Fragment Editor are editable in new editor – need way to disable them
Hi everyone,
I’m facing an issue with one of our Content Fragment Models in AEM where a few text fields were intentionally disabled using disabled=true and renderReadOnly=false at the field node level under /conf/<project>/settings/dam/cfm/models/<model-name>/jcr:content/model/cq:dialog/content/items/textfield. In the old Content Fragment Editor (Granite UI), these fields appear correctly disabled and are not editable, but after moving to the new Content Fragment Editor (which is React-based and built on Adobe React Spectrum), the same fields appear editable and authors are able to modify them. It seems the new editor doesn’t respect the traditional disabled or renderReadOnly properties that used to work in the old UI. Could someone please guide me on how to make these fields appear disabled or read-only in the new React Spectrum–based Content Fragment Editor? Any official documentation or best practice would be really helpful.
Thanks,
Abhishek A.