Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2012
    Location
    Warsaw, Poland
    Posts
    22
    Vote Rating
    0
    jsciuba is on a distinguished road

      0  

    Default DateField doesn't fire CHANGE event when using date picker

    DateField doesn't fire CHANGE event when using date picker


    Hi,

    I think i found a bug in DateField. I noticed that "Change" event is not fired when date is selected using calendar/date picker widget. Could you please let me know if it is expected behaviour and i should handle some other event or that is an error.

    Kuba

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    The change event only fires when you blur the field. This is in common with the default browser change event. Also all other fields behave like this. We maybe can add another event to fit your needs. We already did the same for combobox.

    I will move this thread to the bugs forum.

  3. #3
    Ext GWT Premium Member
    Join Date
    Apr 2012
    Location
    Warsaw, Poland
    Posts
    22
    Vote Rating
    0
    jsciuba is on a distinguished road

      0  

    Default


    That is right but ChangeEvent is not fired onblur as well. When you select date using datePicker then FieldDate gets focus and then when you click outside (blur) the field ChangeEvent is not fired. I know this happens because native events are not fired when change is result of java script action but it would be great to modify that behaviour.

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Thanks for clarifiying. We will update the thread once we have a solution ready.

  5. #5
    Sencha User dannmartens's Avatar
    Join Date
    Aug 2010
    Posts
    13
    Vote Rating
    0
    dannmartens is on a distinguished road

      0  

    Default


    I was in the process of trying to figure out why DateField validation didn't work anymore. I guess this thread solves that.

    At any rate, I think it did work with

    Code:
        dateFrom.addValueChangeHandler(new ValueChangeHandler<Date>() {
            @Override
            public void onValueChange(ValueChangeEvent<Date> event) {
                 ...
            }
        });
    in earlier development versions. But I can be mistaken.

    I can trigger the event by changing the focus to a second DateField.

  6. #6
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    I do not believe this bug was fixed in 3.0.1. Looking at:

    http://www.sencha.com/examples/#Exam...e:formsexample

    The birthday field fires the value change event where it should including when using the date picker.

    Is anyone still seeing this issue?

  7. #7
    Sencha User
    Join Date
    Sep 2010
    Posts
    14
    Vote Rating
    0
    suganya08 is on a distinguished road

      0  

    Default


    I had the same issue. I changed my code to
    Code:
    dateField.getDatePicker().addValueChangeHandler()
    and it works.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar