Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm trying to wrap my head around the new supportsReadOnly option for (custom) property editors.
I've upgraded to Umbraco 10.2.1 and enabled the 'Allow Edit Invariant From Non-Default' feature:
According to the documentation this AllowEditInvariantFromNonDefault setting should be added to Umbraco:CMS:Security, however according to the schema it should be added to Umbraco:CMS:Content. This is confirmed by PR #12960.
Anyway, you should now also be able to add a supportsReadOnly setting to the property editor, see documentation:
By setting this value to true you should be able to implement your own 'readonly' behavior, overriding the default overlay that Umbraco adds to property editors that don't implement this feature. This doesn't seem to work though, as in Umbraco still just adds an overlay. This new settings is not being recognized by the package.manifest schema, I don't know if that has anything to do with the issue.
Has anyone else fiddled with this new feature yet? And got it to work on a custom property editor?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted