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

Combobox: emptySelectionAllowed not working

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 6.2.17
    • None
    • None

    Description

      According to the description of property emptySelectionAllowed, when false no empty value should be shown. This is not working correctly.

      Steps to reproduce

      1. Use the following field in any dialog
        field:
                $type: comboBoxField
                emptySelectionAllowed: false
                required: true
                datasource:
                  $type: jcrDatasource
                  workspace: category
                  describeByProperty: name
                  sortBy:
                    name: ascending 
        
      2. Open the dialog

      Expected results

      The combobox shows the first item of the list

      Actual results

      The combobox shows an empty value

      Development notes

      It also happens with option optionListDatasource

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jayala Jonathan Ayala
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD