Review main Merged

72278[BUGFIX] Make belayoutwizard TSconfig preview readonly

Oli Bartsch CR +2 V +2 Easy +1 −1 updated 11/24/21, 18:37

Commit message

With #94222, the TSconfig preview of a TCA field with
renderType= belayoutwizard was adjusted to use the
CodeMirror plugin - in case EXT:t3editor is installed.

With this change, also the default "preview" was changed
form a <code> element to a <textarea>. This therefore led
to the field being editable. However, any manual change
will always be overwritten on adjusting the grid via the editor
or on saving the record.

To avoid confusion for the user and to be in line with
the CodeMirror variant, the previous behaviour is restored
by adding the readonly attribute to the <textarea> element.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 1