Thank you for reporting this bug. We will make it our priority to review this report.
View-model bind does not work after "sencha app build"
View-model bind does not work after "sencha app build"
I have a form with this item:
Code:
{
fieldLabel: 'Combo:',
name: 'fieldId',
xtype: 'combobox',
bind: {
store: '{fieldStore}'
},
queryMode: 'local',
displayField: 'name',
valueField: 'id',
}
And in my viewModel:Code:
stores: {
fieldStore: {
type: 'myStore',
sorters: 'name',
autoLoad: true
}
}
This works fine on development. When I try to run my production app (buit with "sencha app build"), it breaks.Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/myapp/widget/combobox.js
Uncaught TypeError: object is not a function
Uncaught TypeError: object is not a function VM58:3(anonymous function) VM58:3Ext.ClassManager.Ext.apply.create app.js:1Ext.ClassManager.Ext.apply.widget app.js:1Ext.cmd.derive.create app.js:1Ext.cmd.derive.lookupComponent app.js:1Ext.cmd.derive.privates.prepareItems app.js:1Ext.cmd.derive.add app.js:1Ext.cmd.derive.initItems app.js:1Ext.cmd.derive.initItems app.js:1Ext.cmd.derive.initItems app.js:1Ext.cmd.derive.initComponent app.js:1Ext.cmd.derive.initComponent app.js:1Ext.cmd.derive.initComponent app.js:1Ext.cmd.derive.constructor app.js:1al app.js:1Ext.ClassManager.Ext.apply.widget app.js:1Ext.cmd.derive.create app.js:1Ext.cmd.derive.lookupComponent app.js:1Ext.cmd.derive.privates.prepareItems app.js:1Ext.cmd.derive.add app.js:1Ext.cmd.derive.initItems app.js:1Ext.cmd.derive.initItems app.js:1Ext.cmd.derive.initComponent app.js:1Ext.cmd.derive.initComponent app.js:1Ext.cmd.derive.initComponent app.js:1Ext.cmd.derive.initComponent app.js:1Ext.cmd.derive.constructor app.js:1al app.js:1Ext.ClassManager.Ext.apply.widget app.js:1Ext.cmd.derive.onAdd app.js:1Ext.apply.callback app.js:1Ext.cmd.derive.fireHandler app.js:1Ext.cmd.derive.onClick app.js:1Ext.cmd.derive.doFire app.js:1Ext.cmd.derive.fire app.js:1Ext.cmd.derive.doDispatchEvent app.js:1Ext.cmd.derive.dispatch app.js:1Ext.cmd.derive.dispatch app.js:1Ext.cmd.derive.doPublish app.js:1Ext.cmd.derive.publish app.js:1Ext.cmd.derive.doDelegatedEvent app.js:1Ext.cmd.derive.onDelegatedEvent app.js:1(anonymous function) app.js:1
View-model bind does not work after "sencha app build"
Aucun commentaire:
Enregistrer un commentaire