Home > @polyspec/crudui-generator-core > FormInstance > setData
FormInstance.setData() method
Replace the record after an asynchronous load or save; history and view state restart.
Signature:
setData(data: Record<string, unknown>): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
data |
Record<string, unknown> |
Returns:
void