Posto
Posto

Reputation: 7550

Datepickerfield no value to select : Chrome

In chrome browser , I cannot see any value to select from datepickerfield. it's working perfectly in FireFox.

I don't have much configuration,

               {
                    xtype: 'datepickerfield',
                    label: 'Field',
                    placeHolder: 'mm/dd/yyyy'
                },

see below,

enter image description here

but it's working in Firefox,

enter image description here

Any idea what went wrong !!!

Upvotes: 0

Views: 108

Answers (2)

Anand Gupta
Anand Gupta

Reputation: 5700

In app.js file add below inside launch() function:

if (Ext.browser.is.WebKit) {

        Ext.override(Ext.util.SizeMonitor, {
            constructor: function (config) {
                var namespace = Ext.util.sizemonitor;
                return new namespace.Scroll(config);
            }
        });

        Ext.override(Ext.util.PaintMonitor, {
            constructor: function (config) {
                return new Ext.util.paintmonitor.CssAnimation(config);
            }
        });
 }

It will work like charm again. It is issue with Chrome 43+ version.

Upvotes: 0

Related Questions