How to make a field readOnly based on another field value?
Hello @fedoraman, my first guess ishttps://payloadcms.com/docs/fields/overview
Where there is validation information, and that provides siblingData as a prop
Currently readOnly is a boolean, so it cannot be conditional. This will likely be added as a feature in the near future.
You could use access control on the field, and have the field.access.update return false based on other fields in the doc
Get help straight from the Payload team with an Enterprise License.