Adding dataviewitem generated undefine error in sencha-touch-all
I have a workabke DataView with store. Just want to change it from template-based to component-based.
It had no error if the defaultType was the default value: dataitem.
Then, I created a DataViewItem with userAlias "myitem". After I set "myitem" as defaultType for my DateView and then PREVIEW, the browser said:
TypeError: 'undefined' is not an object (evaluating h.substring')
Please help! Thanks!
I have found it could be reproduced with a new Project:-
1. Add Data View
2. Add Data View Item
3. Set Data View Item's userAlias as "mydataitem"
4. In Data View, check useComponent
5. In Data View, enter "mydataitem" for defaultType
Error message then generated!
I did it with Architect 2.1 build 676 Windows version.
Really need help for this. It blocks my development progress. Thank!
Just installed SA build 676 on Mac and could reproduce the problem.
Anyone using your own Data View Item in SA without issues, please help