codemonauts/craft-readonly-field

Craft CMS plugin to add a simple, read-only plaintext field.

Maintainers

👁 codemonauts

Package info

github.com/codemonauts/craft-readonly-field

Documentation

Type:craft-plugin

pkg:composer/codemonauts/craft-readonly-field

Statistics

Installs: 75 007

Dependents: 1

Suggesters: 0

Stars: 8

Open Issues: 4

2.0.1 2022-07-04 11:50 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 30492dcdf9312f777dbac6c375ce153c3efd12ae

cmsfieldRead-OnlyCraftcraftcmscraft-plugin

This package is auto-updated.

Last update: 2026-06-04 20:38:42 UTC


README

👁 Icon

A very simple read-only field type.

Background

Sometimes you add content to Craft entries (for example via an API) that should be readable but not changeable for the user in the control panel.

Requirements

  • Craft CMS >= 4.0.0

Installation

Open your terminal and go to your Craft project:

cd /path/to/project
composer require codemonauts/craft-readonly-field
./craft plugin/install readonly

You can also install the plugin via the Plugin Store in the Craft Control Panel.

Usage

After installation, the control panel can be used to create fields that behave like plaintext fields, but can only be filled programmatically with content. In the control panel, the content is displayed but cannot be edited.

With ❤ by codemonauts