Results 1 to 2 of 2

Thread: editable false combo box not expanding on single click

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130

    Default editable false combo box not expanding on single click

    Hi,


    I am trying to expand a non editable combobox on field click. For this I am using below override (I want to use this for whole application).


    Code:
    Ext.override(Ext.form.field.ComboBox, {
        initComponent: function () {
            this.callParent();
            this.on('focus', function () {
                this.expand();
            });
        }
    });

    but combobox just collapse after a fluctuation.


    Note: This is happening with editable: false comboboxes. Editable combo box are expanding fine.


    Please see below fiddle (Click on the input field itself rather than trigger)




    https://fiddle.sencha.com/#view/editor&fiddle/28kj

    Version : this is happening from version 4.2.1 to 6.5.1

    Can anyone please provide a workaround.
    ---A ship in the harbor is safe, but that is not what the ships are made for...

  2. #2
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130

    Default

    Any update guys.

    This is also happening with version 6.x.x

    Update: If I use 'click' listener, then it works fine. But i want it to be for focus event as I can come to this combobox using TAB key too.


    Code:
    Ext.override(Ext.form.field.ComboBox, {
             initComponent: function () {
                 this.callParent();
                 this.on('focus', function () {
                 this.expand();
          });
       }
    });
    ---A ship in the harbor is safe, but that is not what the ships are made for...

Similar Threads

  1. Replies: 3
    Last Post: 30 Apr 2013, 5:50 AM
  2. Replies: 3
    Last Post: 25 Sep 2012, 10:37 PM
  3. Replies: 0
    Last Post: 5 May 2011, 11:19 AM
  4. Combo Box Editable false
    By nchollann in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 1 Jun 2010, 11:49 PM

Tags for this Thread

Posting Permissions

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