Threaded View
-
19 Sep 2012 9:37 PM #11
Hmm I have never used Sencha Touch, I didn't know that. The ExtJS-way of defining a model is a little different:
So, is the output of sencha generate model command a bug? Shouldn't it be the one compatible with ExtJS SDK?Code:Ext.define('MyApp.model.MyModel', { extend: 'Ext.data.Model', fields: [{ name: 'id', type: 'int' }, { name: 'name', type: 'string' }, { name: 'ratio', type: 'float' }] });
Thank you for reporting this bug. We will make it our priority to review this report.


