Replies: 1 comment 2 replies
-
You can define the label as an HTML string: text: {
type: 'content-editable',
label: '<span style="color:red">*</span>Text',
group: 'text',
index: 1,
} Or you can define a custom label using the renderLabel() option. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
I have a property called 'Location Name' in inspector as shown below. I wanted to mark it as a mandatory field by keeping an asterisk symbol at the beginning of the label. Is it possible to make the asterisk red in color and leave the rest of the text as it is?
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS+
Beta Was this translation helpful? Give feedback.
All reactions