Search code examples
javascriptextjssencha-architect

Cannot bind store on Ext.form.field.Text - missing a setStore method


i am new to extjs and i am new to stackoverflow my viewModel and all stores is just perfect bind and still this error appears i dont know how to fix this please someone help me these are the errors which appears


Solution

  • Thank you Sir, I already have it. I was just binding a store to textfield instead of combobox.

    {
      xtype: 'textfield',
      anchor: '100%',
      fieldLabel: 'Ssahjask',
      labelWidth: 130,
      name: 'asdhaskfja',
      valueField: 'id',
      bind: 
      {
        store: '{asdasdkasd}'
      }
    },