You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried going through the crate, and even seen an older changelog entry where read_only(?) was added but I cannot figure out how to mark a field in a resource as read only.
To just display a field but not let it be changed from the inspector. Is this supported? I saw that InspectorPrimitive requires you to implement readonly variants of the ui too so I assumed there's some config option to mark fields as readonly.
The text was updated successfully, but these errors were encountered:
I tried going through the crate, and even seen an older changelog entry where
read_only
(?) was added but I cannot figure out how to mark a field in a resource as read only.This is what I tried to do:
To just display a field but not let it be changed from the inspector. Is this supported? I saw that
InspectorPrimitive
requires you to implement readonly variants of the ui too so I assumed there's some config option to mark fields as readonly.The text was updated successfully, but these errors were encountered: