Forum Discussion
Can i set a field as Read-Only when editing a list item inside modern UI
Hi john john,
Question #1:
"... not sure if i have to live with all these limitations just to have a filed as read-only on edit forms... what do you think?"
That's a good question to ask but not one I can answer for you. If you assess the risk to value of the change for you and your end-users you will be in a better position to answer for yourself.
If it were my environment, I know my team could support the change and the customer could live with rework down the road should requirements or functionality change.
Question #2:
- Edit the Card > click Advanced > click Unlock to change properties
- Set DisplayMode = DisplayMode.View
I hope this helps.
Norm
Norman Youngthanks for the reply and help.i am not sure if i should follow the PowerApp appraoch.. there is a main issue in Office 365, is that things sometimes make you confused... we use sharepoint online because it support external sharing and managing the lists/fields through content types,, but if we start customizing our lists using PowerApp, then we will loose one of the main features found in sharepoint online, which is sharing with external users!!also we no more have control over the fields ...
second point. not sure about permissions for the app, will it get the same permission as the list? or it will be exposed to all users? so all users can view the create and edit powerapp forms? unlike the built-in forms which will only be exposed to the users who can access the underlying sharepoint list?
third point, i tried to create a simple powerapp form, where i set the field as read-only and i publish the app to sharepoint. but i have noted that lot of fields have lost their properties, for example i have a multi-line of text field (named Description), where it will be rendered as single line of text, and as a result we do not have the ability to add tables , images ,etc.. which is provided out of the box inside the sharepoint built-in list forms..
- Norman YoungJul 30, 2019MVP
Hi john john,
I believe that the customized form retains the same permissions as the underlying list.
I can appreciate your point of view and concerns. I'm not certain how you make a column read-only without using PowerApps and disabling Quick Edit. I'd be curious to hear what other's would do with this scenario.
Norm