PDA

View Full Version : [FIXED] Store type not in requires



steenole
11 Aug 2015, 2:38 AM
Great work on the plugin. It is a big help.

I define a store in a ViewModel like this


stores: {
sampleStore: {
type: 'sample'
}
},




...where "sample" is a known alias of a store defined in the app/store folder.

Shouldn't the plugin be able to suggest adding the store classname to the "requires" section of the viewmodel?

Mark.Brocato
12 Aug 2015, 7:22 AM
You're correct, steenole, that is a bug. I've fixed it in development and it should be in the next release. Thanks for reporting it!

steenole
23 Sep 2015, 5:34 AM
More of the same.

When defining an editor on a grid column as


{dataIndex:'myField', editor:'textfield'}


the plugin should also be able to discover, that (in this case) 'Ext.form.field.Text' should be required in the class.