Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-4368

readOnly property is not working for LinkFields, PasswordFields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.4.15, 5.5.9, 5.6.1
    • Fix Version/s: 5.4.15, 5.5.10, 5.6.5
    • Component/s: dialogs
    • Labels:
      None
    • Release notes required:
      Yes
    • Documentation update required:
      Yes
    • Sprint:
      Saigon 136, Saigon 137, Saigon 138, Basel 139, Basel 141, Basel 143, Basel 145
    • Story Points:
      5
    • Magnolia Release:
      5.4.16, 5.5.10, 5.6.6

      Description

      In magnolia 5.4.12 there were some changes and refactoring done related to readOnly and checkbox field (MGNLUI-4081 and MGNLUI-4181). Since that release, readOnly property is not working (for example, in LinkField).

      How to reproduce issue in LinkField:

      1. Execute createAppScript to create a content app
      2. Delete form node and import the attached file.

      Workaround:
      override see setReadOnly() method in info.magnolia.ui.form.field.LinkField.

      NOTE: also happening with with Password Field, most likely related to fields that extends CustomFields

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgasa Saimir Gasa
                Reporter:
                miruela Mercedes Iruela
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: