our customer needs to edit a value of a property that is readonly. So i wanted to (temporarily) make this property editable again via CMS. But i don't find the option. In Code it is made readonly with [Editable(false)]
Where is it stored then? How you can make a property that is [Editable(false)] editable again? I noticed that i can't even change it i code, it stays readonly. Edit: Now it works, maybe there was another reason why it was readonly(language,project). But would be good if we could change it in CMS
- Nov 24, 2021 9:51
It's dojo magic. Fetched at runtime. You need to make code changes to make it editable again.
- Nov 24, 2021 10:10
Is your property decorated with the ReadOnly attribute? Or any other custom attribute that inherits from IMetadataAware and sets metadata.IsReadOnly to true?
Hello,
our customer needs to edit a value of a property that is readonly. So i wanted to (temporarily) make this property editable again via CMS.
But i don't find the option. In Code it is made readonly with [Editable(false)]