Results 1 to 2 of 2

Thread: 6.2.1 classic: RadioGroup's change event is fired too early

    You found a bug! We've classified it as EXTJS-23582 . 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
    Jan 2016
    Location
    Brazil
    Posts
    126
    Vote Rating
    6
      0  

    Default 6.2.1 classic: RadioGroup's change event is fired too early

    Actually... not too early, nor too late, but also not in the right time, it seems!..

    Check this fiddle: RadioGroup Change Event.

    When the change event is fired, and I try to get the component's current checked items, I get but two item, while it should (shouldn't it?) allow just one at a time!

    Now just switch the fiddle back to 6.0.2. Voila, it gets just one checked item!..

    It seems it is a conflicting feature with the checkboxes (which radios inherit). That change trigger timing looks perfect for checkboxes cause they don't really have to worry about theirs "neighbors", so I guess some override should take place in Ext.form.RadioGroup.changeEvent(e) not to call updateValueFromDom() so early.

    I tried some alternatives here, but always getting into some kind of deadlock, would take more time to figure out a nice way to best trigger the event.
    Object.NET
    Frameworks and Tools for .NET Developers
    --------------------------------------------------
    Ext.NET - Ext JS for ASP.NET - Examples | Twitter
    Bridge.NET - Write C#. Run JavaScript! - Live | Twitter
    --------------------------------------------------

  2. #2
    Sencha User
    Join Date
    Nov 2012
    Posts
    432
    Vote Rating
    10
      0  

    Default

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

Similar Threads

  1. Replies: 1
    Last Post: 4 Aug 2015, 4:35 AM
  2. [CLOSED] radiogroup change event fired twice
    By christophe.geiser in forum Ext:Bugs
    Replies: 16
    Last Post: 4 Dec 2011, 7:09 PM
  3. [BUG 3.1.x] RadioGroup as GridEditor: blur event not fired
    By franck34 in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 11 Aug 2011, 8:44 AM
  4. Radiogroup change event fired set to false - Shouldn't be!
    By catapult in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 22 Feb 2010, 6:45 AM
  5. Replies: 2
    Last Post: 17 Jun 2009, 7:02 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
  •