Results 1 to 2 of 2

Thread: (ExtJs 6 Modern)field.getValue() return the old value after reset()

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default (ExtJs 6 Modern)field.getValue() return the old value after reset()

    ExtJs 6.0.2.437 and ExtJs 6.2 EA Modern:
    field.getValue() return the old value after reset(), the input is empty, though.
    Then field.setValue(oldValue), the input is still empty.

    Test case:
    https://fiddle.sencha.com/#fiddle/1e2g

    Workaround:
    Modifiy file \ext\modern\modern\src\field\Text.js and add this member function:
    Code:
    getValue: function() {
        var me = this;
     
        me._value = me.getComponent().getValue();
     
        me.syncEmptyCls();
     
        return me._value;
    }

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. This issue is being tracked as EXTJS-19657 and has already been resolved in 6.2.x.

Similar Threads

  1. [OPEN] [Modern] Ext.field.Text -> reset()
    By tobiu in forum Ext JS 6.x Bugs
    Replies: 3
    Last Post: 21 Jul 2016, 7:19 PM
  2. Replies: 1
    Last Post: 20 Apr 2016, 2:41 PM
  3. Replies: 1
    Last Post: 3 Oct 2013, 1:53 PM
  4. [NOREPRO] Ext.form.DatePicker field value != getValue after reset() called
    By jmchawkins in forum Sencha Touch 2.x: Bugs
    Replies: 3
    Last Post: 3 May 2013, 4:31 AM
  5. Replies: 2
    Last Post: 28 Mar 2011, 6:26 AM

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
  •