umb-property-info-button should be part of umb-property #11144
nathanwoulfe
started this conversation in
Features and ideas
Replies: 1 comment 1 reply
-
For localizing, can't you still use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Stumbled across the
umbPropertyInfoButton
component in the Block List editor:Only place this exists in the codebase is in the block config overlay, but I think it would be super useful to have in the
umbProperty
component as while the control description property is great, it's really only suited to short text. For properties requiring longer descriptions, the info button would be ideal.This could be wired up via a new prevalue (under the Appearance header), to flip between the existing description or use the info button.
That then leads me to localization. If a property warrants a description (existing way or using the info button), doesn't it follow that it should be localized? If it's complex, all users should be provided a useful description. Could look at using
@
prefixed strings in the property editor description, localizing inumbProperty
, and keeping everyone happy. It would add some extra burden when creating document types in a multi-lingual site as descriptions would exist in language files rather than the UI, but would still be optional (and hence a non-breaking change).Beta Was this translation helpful? Give feedback.
All reactions