forms.readOnly
Show fields and values, fill nothing. Every field shows its value and takes no input, while the rest of the mode (tools, Download, Print) stays as it is. A signature field opens nothing.
doc.forms.setValues() refuses every field with read_only (a signature field with unsupported_type), as it does a field the document marks read-only.booleandefault false
Example
readOnlyTypeScript
forms: { readOnly: true }