Results 1 to 4 of 4

Thread: Not truly works method selectHighlighted for Ext.view.BoundListKeyNav

    You found a bug! We've classified it as EXTJS-17202 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Apr 2015
    Location
    Moscow
    Posts
    10

    Default Not truly works method selectHighlighted for Ext.view.BoundListKeyNav

    Ext JS Version - 5.1.1.451.
    Browser - Chrome 47.


    In function selectHighlighted() not always the highlightedRec correctly is defined.

    When used queryMode: ''remote" and typeAhed: "true" and during a filtration you press key TAB, combobox can establish the wrong value.

    Code:
    highlightedRec = me.getRecord();
    But Ext JS 4.2.3 it's work always!
    Code:
    highlighted = boundList.highlightedItem;
    
    if (highlighted) {             
         highlightedRec = boundList.getRecord(highlighted);
    }
    Example: https://fiddle.sencha.com/#fiddle/usq

    steps:
    1) To enter in comobox "Alas".
    2) When the item ALASKA is highlighted key press TAB
    3) Field set value ALABAMA. - This is bug.

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    Thanks for the report, I've opened a ticket in our bug tracking system.


    Regards,
    Bryan

  3. #3
    Sencha Premium User
    Join Date
    Nov 2013
    Location
    Piacenza, Italy
    Posts
    220

    Default

    Also 6.0.1 has the same bug (tested with the same Fiddle).

    @Le_Grand
    Please remove the 'splitter' from your Fiddle: it is not needed and makes the code throw an exception every time you press TAB (may be that is another bug, in this case open another thread for it!).

  4. #4
    Sencha User
    Join Date
    Apr 2015
    Location
    Moscow
    Posts
    10

    Default

    ?agarberi,

    Splitter there is nothing here, i
    copied fiddle from other post and didn't pay to it attention.


Similar Threads

  1. The method label renderer not works
    By joeluyo in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 21 Oct 2013, 3:15 PM
  2. [CLOSED] Surface's removeAll method works only ones
    By Baidaly in forum Ext:Bugs
    Replies: 1
    Last Post: 18 Jun 2013, 10:34 PM
  3. Replies: 9
    Last Post: 29 Oct 2012, 2:48 PM
  4. View pushed onto navigation view only works once (project attached)
    By CarClub in forum Sencha Architect 2.x: Bugs
    Replies: 0
    Last Post: 19 May 2012, 3:35 PM

Posting Permissions

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