You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
Perhaps Umbraco Commerce can support this as well, when property editor supports it readonly?
Then we can still show a toggle for instance for an order property in cart and order, but it could be disabled on order for instance.
The current isReadOnly property just render the label (readonly property ediitor I think). Of course if the property editor doesn't support readonly it will just have no impact.
This discussion was converted from issue #483 on March 27, 2024 08:34.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is your feature request related to a problem? Please describe.
Some time ago Umbraco implemented a feature in core whether property editors support readonly. E.g. i splitview etc where a boolean (toggle) is still rendered as a toggle, but disabled.
https://github.com/umbraco/Umbraco-CMS/blob/contrib/src/Umbraco.Web.UI.Client/src/views/propertyeditors/boolean/boolean.html#L13
https://github.com/umbraco/Umbraco-CMS/blob/d3b96a163feb031f8b33d63ab68098d65aa6686d/src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbtoggle.directive.js#L118-L132
Describe the solution you'd like
Perhaps Umbraco Commerce can support this as well, when property editor supports it
readonly
?Then we can still show a toggle for instance for an order property in cart and order, but it could be disabled on order for instance.
The current
isReadOnly
property just render the label (readonly
property ediitor I think). Of course if the property editor doesn't supportreadonly
it will just have no impact.Beta Was this translation helpful? Give feedback.
All reactions