-
Overrides doesn't work!
Hey,
i tried to override the Field class:
Code:
Ext.define('Ext.overrides.field.Field', { overrides: 'Ext.field.Field',
config: {
border: 10
},
testMethod: function(){
console.log('äää');
}
});
I made this class file a requirement of my app.js and it's loaded but the fields still look as before and the method is not available.
Do i need to reference it somewhere else?
-
overrides should be override
-
The following doesn't work either:
Code:
Ext.define('Ext.overrides.field.Field', {
override: 'Ext.field.Field',
config: {
disabled: true
},
testMethod: function(){
console.log('äää');
}
});