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 Answer
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.