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

FormView#getPropertyValue could support composite fields

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Neutral
    • 6.3.0
    • None
    • None
    • None
    • Yes
    • Yes

    Description

      Steps to reproduce

      form:
        properties:
          name:
            $type: compositeField
            properties:         
              name:
                $type: textField
      actions:
        commit:
          class: my.custom.action  

       

      1. Use the form above.
      2. Call FormView#getPropertyName from the action.

      Expected results

      I can retrieve the name field value as this is still a simple use case. 

      Actual results

      I can't access the field value, moreover FormView#getPropertyNames implemented by the same interface returns this field name.

      Workaround

      Avoid the complex field and add the field to the top of the form.

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started:

                Checklists

                  Task DoD