JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › Update Form item value created using JSON › Reply To: Update Form item value created using JSON
December 21, 2021 at 8:09 am
#102673
admin
Keymaster
Hi,
This example shows how to set Form’s value: https://www.htmlelements.com/demos/form/template/. The ‘value’ property and setValue method expect a JSON object which matches the form’s structure. The patchValue method can be used for updating an individual component of a form. In the provided code, the ‘group’ control should have a dataField property set, too.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/