Ok… I found the answer. The PsychoPy team made some changes to correct some things about how dialogue boxes work. These changes are not yet reflected on the PsychoJS source code that is available online at this moment in https://psychopy.github.io/psychojs/core_GUI.js.html. I put the new code for solving the issue with the use of Dialogue Boxes in a reply to the post below:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Text responses in JavaScript: Dialogue boxes | 14 | 2318 | June 16, 2021 | |
| Customizing the dialog box (Removing input field but keeping text) | 1 | 795 | April 21, 2020 | |
| Does the function psychoJS.gui.Dlg exist? | 2 | 608 | October 31, 2024 | |
| Fixes for bugs in PsychoJS libraries | 3 | 709 | May 19, 2020 | |
| Using dialogue box input as variable in experiment | 6 | 3355 | January 31, 2017 |