@rjsf/utils
Version:
Utility functions for @rjsf/core
14 lines (13 loc) • 482 B
TypeScript
import { NameGeneratorFunction } from './types.js';
/**
* Generates bracketed names
* Example: root[tasks][0][title]
* For multi-value fields (checkboxes, multi-select): root[hobbies][]
*/
export declare const bracketNameGenerator: NameGeneratorFunction;
/**
* Generates dot-notation names
* Example: root.tasks.0.title
* Multi-value fields are handled the same as single-value fields in dot notation
*/
export declare const dotNotationNameGenerator: NameGeneratorFunction;