0

In my component, among 10 field we added only 3 fields as editable rest all are read-only. There is no problem when we are trying to create a new record. But, when trying to edit the existing record, all the 10 fields are showing as editable in mobile. In desktop its working fine.

1
  • Looks like for mobile view, it'll pick fields from layout and show in phone view. If you want different fields either you need to create multiple pagelayouts and multiple record detail - mobile views and render using filters
    – Aravind
    Commented May 30, 2022 at 9:12

1 Answer 1

0

Dynamic Forms are desktop only. If you want to control behavior of fields on mobile, go-to lightning app builder, switch to Phone view, then drag and drop record detail mobile component(if not already present), this component would have specified page layout assigned. You can change behavior of required field by going to respective page layout and clicking on the wrench/properties button of the field in question.

In short: If you want read-only to work on mobile, specify field property in page layout accordingly.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .