How to make a custom field read only in detail view??

How to make a custom field read only in detail view??

Thanks!!

Parents Reply
  • Hello ,

    It seems like you're encountering a challenge with your custom field's editability on the list view despite implementing the provided solution in your local development system.

    Have you tried this

    Alternatively, you can achieve the same outcome through the studio. Navigate to "Admin -> Studio -> <Your ModuleName> -> Fields -> <Your fieldName>." Within this section, uncheck the "Mass Update" option. Subsequently, observe an option labeled "Required Field" that appears just beneath; check this box. Finally, save the field configuration. This process will automatically render the field as read-only across all relevant areas.

    Or you want to add the read-only to the field using code.

Children
No Data