Hi! I'm new to medplum and had a question about resource types and readonly field access.
Say i had an access policy for a resource with multiple readonly fields. What is the best way to disable these fields on a form?
r
rahul1
03/22/2024, 8:16 PM
HI @threads0 , this is a great question! Right now, our built-in react components do not have this functionality
rahul1
03/25/2024, 7:49 PM
For your own UI components, you can do this manually by first fetching the user's access policy, then updating the form's input field properties accordingly
rahul1
03/25/2024, 7:49 PM
We're hoping to have a more streamlined pathway for this in the future