Skip to content

Editor remains editable in readonly mode #14

@thclark

Description

@thclark

Bug report

What's happening

The json is still editable when widgets are rendered as read-only in the admin (eg for fields where editable=false).

Cause

In the props passed to the component, props can now be customised, so a readOnly prop is acceptable. But, its value isn't determined; it must be set explicitly on the widget or in settings.

The admin governs whether a widget should be readonly or not. So, the readOnly prop (see editor customizable properties) should determined, rather than treated as a customizable option.

Metadata

Metadata

Assignees

Labels

bugUnintended behaviour in any area of the app

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions