I have a requirement where i want display the fields in a section as editable and non editable based on the picklist field(status) .

I have custom Filed status when user select as N/A the fields in the section Discharge and Re admit shouldn't be editable . I am trying to use out of box functionality and achieve this any help on how could be achieved this in Lightning .

enter image description here


If this is a standard page layout in lightning, then you cannot achieve this.

You have to go for lightning record form to achieve this. Use onChange handlers to add class dynamically to elements in DOM.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.