From 3b4fdd9d2af562d4394209ba9cb42dfed8f6758f Mon Sep 17 00:00:00 2001 From: Adrian Jost <22987140+adrianjost@users.noreply.github.com> Date: Tue, 21 Sep 2021 02:39:52 +0200 Subject: [PATCH] fix copy paste typo in radioGroup example (#985) successor of #859 --- src/api/form/PDFForm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/form/PDFForm.ts b/src/api/form/PDFForm.ts index 5f9dfb738..74dbde470 100644 --- a/src/api/form/PDFForm.ts +++ b/src/api/form/PDFForm.ts @@ -275,7 +275,7 @@ export default class PDFForm { * const form = pdfDoc.getForm() * const radioGroup = form.getRadioGroup('Page1.Foo.RadioGroup[0]') * const options = radioGroup.getOptions() - * dropdown.select(options[0]) + * radioGroup.select(options[0]) * ``` * An error will be thrown if no field exists with the provided name, or if * the field exists but is not a radio group.