Results 1 to 5 of 5

Thread: Extjs 6.2 : setValue Method on textfield render

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-22812 in 6.2.1.
  1. #1
    Sencha Premium Member
    Join Date
    Feb 2015

    Default Extjs 6.2 : setValue Method on textfield render

    I'm using ExtJs 6.2,

    On a textfield render event, I used to use the setValue method with extjs 6.0.1, but after the upgrade this method occurs an Extjs error with a bad display

    You see it in the following fiddle:

    Is it a bug ? or agreed ?

    Thank you

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    Curious why you are doing this in a listener? Why shouldn't you just use the value config?

    Also, the emptyClsElements array is set in the afterRender method so if you used afterrender event then no error will occur.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2015


    Our web application is quite complicated and surrounded by business rules, This is why we made this choice for some situations.
    As solution, I am already using the afterrender event.
    But I think if it's a bug it should be reported !

  4. #4
    Sencha Premium User
    Join Date
    Apr 2007
    Sydney, Australia


    A bit of an odd use case, but there's no reason why this shouldn't work.

  5. #5


    Hello, same bug for me! (on version

Similar Threads

  1. DisplayField setValue after render
    By Zdeno in forum Ext 5: Q&A
    Replies: 5
    Last Post: 21 Nov 2014, 3:03 PM
  2. problem in setValue of textfield.
    By nareh tank in forum Ext: Q&A
    Replies: 2
    Last Post: 26 Oct 2012, 11:31 PM
  3. Replies: 3
    Last Post: 23 Jul 2012, 7:42 PM
  4. Textfield setValue vs invalid
    By Jack9 in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 2 Nov 2009, 4:57 AM
  5. Textfield - reset and setValue
    By ben_dog in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 8 Sep 2008, 2:11 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