Layout with read only field

{
   "sections": [
      {
         "name": "accountInformation",
         "label": "Account Information",
         "active": true,
         "cols": 3,
         "rows": [
            [
               {
                  "apiName": "Name"
               },
               {
                  "apiName": "AccountSource",
                  "readOnly": {
                     "AccountSource": {
                        "operator": "in",
                        "value": [
                           "Web",
                           "Other"
                        ]
                     }
                  }
               },
               {
                  "apiName": "Industry"
               }
            ],
            [
               {
                  "apiName": "Phone"
               },
               {
                  "apiName": "Fax"
               },
               {
                  "apiName": "Website"
               }
            ]
      }
   ]
}

Last updated