If its only used on a single node, you could always use a Textstring initially, set the value and then switch the property editor to Label. Additionally you could use the 'Create Content Template' feature if you need to apply the value to other nodes of the same doctype.
These are workarounds really, they might be useful, but if you need more flexibility you'd have to look at a custom property editor that fits your use case.
How to add read only property with label data type
Hi,
I would like to have a read only property using the label data type. But how would I do this? Where do I add the value of the label?
Cheers
Hi David
Label renders the data from datatype - so it's the same value for doctype.
If you want to have value for each document - I think you need some custom property editor or package.
Thanks,
Alex
If its only used on a single node, you could always use a Textstring initially, set the value and then switch the property editor to Label. Additionally you could use the 'Create Content Template' feature if you need to apply the value to other nodes of the same doctype.
These are workarounds really, they might be useful, but if you need more flexibility you'd have to look at a custom property editor that fits your use case.
is working on a reply...