Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there any way we can disable some of the prevalues from a custom dropdown list or a checkbox list?
I would like them to still show up, but not be available to select.
Thanks for the help!
Yes - This is possible. You can extend the logic in FieldTypes/FieldType.CheckBoxList.cshtml or FieldType.DropDownList.cshtml
and add the readonly attribute to few items.
Thank you for replying Mr. Karnani.
If I understood you correctly, perhaps I should create a custom property editor to be used in my custom data type.
If that is not what you meant, could you please give me some more directions as to how to achieve this?
Thank you very much!
Edit: Just to clarify, I am using these in the backoffice only.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted