setAll
Sets multiple form fields using the provided values.
setAll(values?: Partial<TData>, validate?: boolean): this
Summary
This method uses the set method to set multiple form fields. Calling this method is equivalent to calling the set method once for each property of the provided object.
Parameters
- values — An object that contains field names as property names, and their corresponding values as property values
- validate — True if validation tests should be run for all of the provided fields
Related
- class UIFormContextAn object that contains form field data along with validation tests.