Hy I am using the plugin Slider-Menu with navigation view
I have this view:
Ext.define('UnivMobile.view.AddEvent', {
extend: 'Ext.Panel',
requires: ['Ext.picker.Date'],
When you post code, wrap your code in BBCode CODE tags.
You have two config objects, the last one will be used, all others will not be used.
this.parent.parent.parent.parent.push(...); this is very bad. You need to use ComponentQuery to better resolve things. this.up('formpanel') for example will go from a component and resolve a parent that is a formpanel.
The push method is used on a navigation view only but I don't see a navigation view component being used.
Hy,
The first config is commented I am using just one.
And I have a method push because I am using navigation view (plugin Slider menu).
The problem of getValue from picker is found :
here is the solution:
change : function(datePicker1, value) {
console.log(value);
var valueDateDeb=Ext.getCmp('debEvent');
valueDateDeb.setValue(value);