0

I'm new to ExtReact tools and I'm having issues with displaying an object in a FormPanel at least using the record property. As per documentation if I set the record property with my object the values should display on my form. Instead I find myself needing to call this.form.setValues() from componentDidUpdate().

I've created an example in fiddle. In the example I've added a Load Values button instead of componentDidUpdate() just to show that the values are not being loaded into the form when record={values} is set on the FormPanel and only when calling this.form.setValues().

juanlumn
  • 6,155
  • 2
  • 30
  • 39
user1015196
  • 617
  • 1
  • 7
  • 24

1 Answers1

0

record parameter must be instance of Ext.data.Model, instead of Object ({}) value.

Here is an example fiddle

norbeq
  • 2,923
  • 1
  • 16
  • 20