Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2637

In tagfield the emptytext does not disappear in non multiple mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.2.0
    • None
    • None
    • None

      How to reproduce :

      Run this script here https://fiddle.sencha.com :

      var shows = Ext.create('Ext.data.Store', {
      fields: ['id','show'],
      data: [
        {id: 0, show: 'Battlestar Galactica'},
        {id: 1, show: 'Doctor Who'},
        {id: 2, show: 'Farscape'},
        {id: 3, show: 'Firefly'},
        {id: 4, show: 'Star Trek'},
        {id: 5, show: 'Star Wars: Christmas Special'}
      ]
      });
      
      Ext.create('Ext.form.Panel', {
        renderTo: Ext.getBody(),
        title: 'Sci-Fi Television',
        height: 200,
        width: 500,
        items: [{
        xtype: 'tagfield',
        fieldLabel: 'Select a Show',
        multiSelect: false,
        store: shows,
        emptyText: '-Tous-',
        displayField: 'show',
        valueField: 'id',
        queryMode: 'local',
        filterPickList: true
      }]
      });

            Unassigned Unassigned
            lfoissac Léa Foissac (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: