Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-1346

Cannot clone hiddenAttributes in Form Builder

    Details

      Description

      See LPS-46982

      When cloning a field in aui form builder, it excludes the values of all hidden attributes.

      For example if you if have this configuration for textarea field.

      {

      iconClass: 'form-builder-field-icon form-builder-field-icon-textarea',
      label: 'Custom Label',
      type: 'textarea',
      hiddenAttributes: ['label']
      },

      By clicking the clone button, the text area will be cloned, but it will have an empty string for it's label. The cloned field should respect that it's hidden, but still clone the value.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eduardo.lundgren Eduardo Lundgren (Inactive)
              Reporter:
              robert.frampton Robert Frampton (Inactive)
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 47 weeks ago

                  Packages

                  Version Package
                  2.0.x
                  master
                  2.5.x
                  3.0.x
                  2.0.0.19-deprecated
                  3.1.x