Results 1 to 3 of 3

Thread: Single Select tag field returning array starting in ExtJS 6.5.3 or 6.6.0.

    You found a bug! We've classified it as EXTJS-27602 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2010
    Location
    Dallas, TX
    Posts
    25

    Default Single Select tag field returning array starting in ExtJS 6.5.3 or 6.6.0.

    In ExtJS 6.5.2 and prior, a TagField with multiSelect: false returned a single value, not an array. This behavior changed unexpectedly in 6.5.3 or 6.6.0 when it started returning an array.

    You can see the change here:
    https://fiddle.sencha.com/#view/editor&fiddle/2jip

    1) With ExtJS 6.6.0, select an entry in the TagField, then press Get Value button
    2) With ExtJS 6.5.2, select an entry in the TagField, then press Get Value button

    they return different results.

    This change in Ext.form.field.Tag seems to be causing the problem:

    Code:
        getValue: function () {
            var value = this.callParent();
    
    
            if (value) {
                value = Ext.Array.from(value);
            }
    
    
            return value;
        },

  2. #2
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    569

    Default

    Hello Ahamed,

    Thank you for bringing this to our notice.,I will register this in our bug tracker. The reference number will be attached here for you to track the progress of the issue.


    Regards,
    Kumar
    Sencha Support.

  3. #3
    Sencha Staff
    Join Date
    Sep 2017
    Posts
    126

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. [FIXED] [PR3] Ext.Msg.prompt not returning entered value, or honoring default starting value
    By stefankendall in forum Sencha Touch 2.x: Bugs
    Replies: 5
    Last Post: 5 Feb 2015, 3:29 AM
  2. Replies: 1
    Last Post: 8 Nov 2013, 11:01 AM
  3. Ext.Form.Select Field setting an JSON array
    By mknarayan in forum Sencha Touch 1.x: Q&A
    Replies: 1
    Last Post: 1 Mar 2012, 9:31 AM
  4. Replies: 0
    Last Post: 21 Jun 2010, 9:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •