Salman hassan
Salman hassan

Reputation: 398

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

Upvotes: 2

Views: 3046

Answers (1)

Salman hassan
Salman hassan

Reputation: 398

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}'
  }
},

Upvotes: 4

Related Questions