gportela85/DateTimeField

NAN is shown when changing the time pickers

Closed this issue · 6 comments

There is no error on console but it shows NAN to the hour and minutes. Then when I click on the dates, the whole dates show NAN.

image

I used the same code as the example.

{
                     xtype: 'datetimefield',
                    todayText: 'Select Current Date',
                    hourText: 'H',
                    minuteText: 'Min',
                    width: 300,
                    id: 'chart_range_one_id',
}

Can you provide an example using the sencha fiddle?

Unfortunately, I couldn't create fiddle using my code. However, when I changed ExtJs version to 6.2. The datetimefield picker is not loading and there is an error in console.

Im sorry, but unless you can submit a reproducible scenario using fiddle there isn't much for me to go on. Im afraid having a reproducible scenario is a requirement to be able to submit a bug report.

Yes, I understand but the plugin doesn't run on 6.2 Sencha Fiddle, which also shows a problem. Could you create a fiddle with ExtJS 6.2?

@wondie if you open the fiddle provided https://fiddle.sencha.com/#fiddle/rn3 and change the version to 6.2.1.167 (Classic Triton) it works just fine.

I did that. After changing the version to 6.2.1.167, and click on the Run button, the datetime picker is not showing anymore.

image