This is a migrated thread and some comments may be shown as answers.

Binded input is changing

2 Answers 85 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Marcus
Top achievements
Rank 1
Marcus asked on 04 Nov 2011, 06:14 AM
I created two inputs as month/year pickers ... If I select a month/year and click with the mouse at the other month/year picker or in another place, than the first input field Change his value ...(FF) You may have an idea to fix this?

2 Answers, 1 is accepted

Sort by
0
Marcus
Top achievements
Rank 1
answered on 05 Nov 2011, 02:09 AM
Ok

Maybe you need the code, but its exactly I explained:
 <input id="datepickerF" value="'"/>
 <input id="datepickerT" value="'"/>

and

  $("#datepickerF").kendoDatePicker({
                        // defines the start view
                        startView: "year",

                        // defines when the calendar should return date
                        depth: "year",

                        // display month and year in the input
                        format: "MMMM yyyy",
                        change: function(){needChange=true;}
                    });
    $("#datepickerT").kendoDatePicker({
                        // defines the start view
                        startView: "year",

                        // defines when the calendar should return date
                        depth: "year",

                        // display month and year in the input
                        format: "MMMM yyyy",
                        change: function(){needChange=true;}
                    });

Thats all.

Again: In the first input I select a Year/month. Than I click to another place in the page (on every place) and than the selected value in the first input changed his value ... FF= FireFox...

Any idea?

Thanks
Marcus
0
Georgi Krustev
Telerik team
answered on 08 Nov 2011, 11:50 AM
Hello Marcus,

 
Unfortunately I was not able to observe the depicted issue. Here is a jsFiddel demo. Check it and let me know if I am missing something.

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Date/Time Pickers
Asked by
Marcus
Top achievements
Rank 1
Answers by
Marcus
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or