From 52f89025055a426141f584a29fd70038a61700f3 Mon Sep 17 00:00:00 2001 From: Juanlu Date: Thu, 1 Sep 2022 09:02:55 +0200 Subject: [PATCH] Update README.md Use getButton instead of getTextField for an image field --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 02c9bed4e..2d026f926 100644 --- a/README.md +++ b/README.md @@ -356,7 +356,7 @@ const traitsField = form.getTextField('Feat+Traits') const treasureField = form.getTextField('Treasure') const characterImageField = form.getButton('CHARACTER IMAGE') -const factionImageField = form.getTextField('Faction Symbol Image') +const factionImageField = form.getButton('Faction Symbol Image') // Fill in the basic info fields nameField.setText('Mario')