Results for “readonly”
Small, practical examples. Search by task or narrow things down below.
Submit a readonly value while preventing edits
HTML: Readonly controls remain in form data, unlike disabled controls.
HTML✓ Tested
Update an object with a readonly input
Create a changed copy while retaining the original.
readonly✓ Tested
Declare a fixed configuration value
Bash Scripts: Declare a fixed configuration value with a small standalone Bash program.
Bash Scripts✓ Tested
Expose a read-only signal view
Expose a read-only signal view with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Expose service state through a read-only signal
Expose service state through a read-only signal with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Mount a host directory read-only
Expose existing files without allowing the container to change them.
bind mount✓ Tested
Protect a Compose service’s root filesystem
Docker / Compose: read_only rejects writes to the image filesystem.
Docker / Compose✓ Tested
Verify a read-only volume rejects writes
Docker / Compose: A failed write confirms the mount’s read-only behavior.
Docker / Compose✓ Tested