Results 1 to 3 of 3

Thread: DateField getValue() vs getCurrentValue() javadoc improvement suggestion.

Threaded View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default DateField getValue() vs getCurrentValue() javadoc improvement suggestion.

    Required Information
    Version(s) of GXT

    • GXT 3.0.1

    Description
    Javadoc for getValue() :
    Gets this object's value. Specified by: getValue() in HasValue, getValue() in TakesValue
    Returns: the object's value
    Javadoc for getCurrentValue():
    Returns the field's current value. The value of the field is not updated until the field is blurred when editing.

    Returns: the current value
    I might be wrong but these should be switched arround to match theire behaviour. It often often happens that the getValue method returned an old value() untill it is unblured, unfocused.

    Update:
    The real cause of the problem : http://www.sencha.com/forum/showthre...ng-date-picker
    Last edited by Foxtrot; 6 Dec 2012 at 12:38 AM. Reason: additional information.

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
  •