Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

FieldSuggestion

type FieldSuggestion = FieldSuggestionJs;

Defined in: packages/sdk/src/types.ts:821

A field a flat page seems to ask for, from Document.suggestFields: its kind ("text", "date", "checkBox", "radio" or "signature"; "unknown" for a kind a newer module adds), its bbox [x, y, width, height] in top-left page points, the label beside it when there is one, what made it (reason), whether it is tall enough for multiline text, and for a radio button its group (the same number on every button of one group) and the question over the group. A suggestion is data: accept it by making the createField op yourself.

0.7.0