extended-dynamic-forms
Version:
Extended React JSON Schema Form (RJSF) v6 with custom components, widgets, templates, layouts, and form events
23 lines (22 loc) • 617 B
TypeScript
export declare const formDataUtils: {
/**
* Deep clone form data to avoid mutations
*/
cloneFormData: (data: any) => any;
/**
* Merge two form data objects
*/
mergeFormData: (current: any, updates: any) => any;
/**
* Get nested value from form data using dot notation
*/
getNestedValue: (data: any, path: string) => any;
/**
* Set nested value in form data using dot notation
*/
setNestedValue: (data: any, path: string, value: any) => any;
/**
* Remove empty values from form data
*/
removeEmptyValues: (data: any) => any;
};