I need to bind child view to viewmodel of parent view. my structure is -
parentView{
items : [{
xtype : 'childview'
}]
}
parentViewModel{data : NAME}
childview : {
items : {[
xtype : 'label',
bind : {value : '{NAME}'}
]}
}
OK, for starters the syntax for your bind is wrong and also you can use the lighter component.html if you don't need 'label' xtype for form.