Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-46982

In Form Builder, fields with hidden "Type" property can't be cloned

Details

    Description

      1. Use the Form Builder example found here, http://alloyui.com/examples/form-builder/ in a local html file
      2. Modify the hiddenAttributes property in the Textarea field declaration so that it says type instead of tip
      3. Save and load the page
      4. Add a TextArea field to the form
      5. Attempt to clone the TextArea field by using the + sign
      6. Notice that the field is not cloned and the following browser error is received:
        Uncaught TypeError: Cannot read property 'removeAttribute' of null

      Attachments

        Issue Links

          Activity

            People

              lu.liu Lu Liu
              kenneth.chang Kenneth Chang (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 20 weeks, 3 days ago

                Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1