fillAllFields function exported
Last updated: 2026-03-04T23:21:38.398Z
Location
Metrics
LOC: 10
Complexity: 1
Params: 1
Signature
fillAllFields(options?: {
fillEmptyOnly?: boolean;
}): : Promise<GenerationResult[]>
Summary
Fills every detected form field on the current page. Resolves values through the priority chain (rules → saved forms → AI → generator).
Tags
#@param options.fillEmptyOnly When set, overrides the stored setting for this call only#@returns Array of generation results for each filled field
Source Code
export async function fillAllFields(options?: {
fillEmptyOnly?: boolean;
}): Promise<GenerationResult[]> {
setFillingInProgress(true);
try {
return await doFillAllFields(options);
} finally {
setFillingInProgress(false);
}
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| setFillingInProgress | calls |
| doFillAllFields | calls |
Impact (Incoming)
| Source | Type |
|---|---|
| FillableElement | uses |
| fillContextualAI | calls |
| makeInput | uses |