Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12300

SelectContent widget : edit button not available until combobox value change

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.12, 4.9.0
    • 4.8.5, 4.9.0
    • None
    • None

      I have a selectcontent display in a solr search grid (SelectCourse of a solr search on course with courseParts as column)

      When editing course parts, the edit button is disabled for all cells.
      As soon as I change a course part combo box value (adding or removing a course part) the edit button becomes available for all cells.

      See video capture.

      In SelectContent, the edition button is created in disabled mode.
      Only a "combobox" change event could enable it

      _onComboBoxChange: function()
          {
              if (this.editionButton)
              {
                  var finalValue = this.getValue();
                  this.editionButton.setDisabled(!finalValue || this.multiple && finalValue.length == 0)
              }
          }
      

      But why it becomes available for all whereas I changed only one combobox ?

          [CMS-12300] SelectContent widget : edit button not available until combobox value change

          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.12 [ 19607 ]
          Fix Version/s Original: 4.8.11 [ 19586 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.11 [ 19586 ]
          Fix Version/s Original: 4.8.10 [ 19486 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.10 [ 19486 ]
          Fix Version/s Original: 4.8.9 [ 19440 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.9 [ 19440 ]
          Fix Version/s Original: 4.8.8 [ 19428 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.8 [ 19428 ]
          Fix Version/s Original: 4.8.7 [ 19406 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.7 [ 19406 ]
          Fix Version/s Original: 4.8.6 [ 19385 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.8.6 [ 19385 ]
          Fix Version/s New: 4.9.0 [ 18890 ]
          Laurence Aumeunier made changes -
          Laurence Aumeunier made changes -
          Affects Version/s New: 4.8.5 [ 19290 ]
          Affects Version/s New: 4.9.0 [ 18890 ]
          Laurence Aumeunier created issue -

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: