Uploaded image for project: 'Front Edition'
  1. Front Edition
  2. FRONTEDIT-87

Impossible to edit a TagWidget

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 1.4.0
    • 1.3.0
    • None
    • 4.2 M5

      When a widget is linked to a reference table, front edition use a 'AmetysFrontEdition.widget.TagWidget'

       

      The getValue is changed to this code :

      getValue: function() {
          // tag field is now always return multiple values, but that's not fine for ours widgets
          var value = this.callParent(arguments);
          return multiple ? value : (value && value.length > 0 ? value[0] : null);
      }
      

      The problem with this is that the value can be a String, and the length will then be the length of the string.

      So only the 1st character will be sent

            raphael Raphaël Franchet
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: