Home > @polyspec/crudui-validator > hiddenPaths
hiddenPaths() function
The data paths of the fields whose design.show resolves to false against data (form-runtime.md, "Display"), as validation resolves them. The specification is composed without files, as the browser binding sends it.
Signature:
export declare function hiddenPaths(spec: Record<string, unknown>, data: unknown): string[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
spec |
Record<string, unknown> | |
|
data |
unknown |
Returns:
string[]
Exceptions
ComposeLoadError when composition cannot be resolved.
FormInputError when the data is not an object.