View Only Form
Read only form state with a permission banner, every field disabled at its saved value, and a footer explaining why save is off.
Read only form state with a permission banner, every field disabled at its saved value, and a footer explaining why save is off.
The source for every Application block is included with Basic and Pro. Pick a plan to copy the code.
Already purchased? Log in
View Only Form is a permission locked form state. A banner under the header explains that the current role is Viewer and offers a Request edit access action, then every field below renders disabled inside a single fieldset while still showing its real saved value: project name, production branch, runtime version, build command, and an auto deploy switch.
Wrapping the whole form in a disabled fieldset is what mutes every control in one place, so the markup stays identical to the editable version. The footer keeps the Save changes button visible but disabled and states plainly why, rather than hiding the action and leaving the role guessing. It shows how a form should degrade for read only roles instead of vanishing.
Reach for this block anywhere a form is gated by role or plan, wired so the disabled flag follows your permission check. Showing the real values in a locked state lets a Viewer confirm the current configuration and know exactly what to request access to change.
A natural flow around it on an Application Pro page:
Before
After
One strong use is a build settings panel for a Viewer. Other read only form states:
Tip: keeping the disabled Save button visible with a reason beats hiding it, which only reads as a broken form.