Problem: using special characters, such as question mark, in the DlgFromDict dictionary causes problems with keyId selection in jQuery. For example, if you want to ask {"Would you like a slice of cake?*": ["Yes", "No"]}
with a dropdown, the question mark will cause problems.
Fix: use $.escapeSelector() to properly escape special characters
Change line 133 of https://github.com/psychopy/psychojs/blob/master/js/core/GUI.js
const keyId = $.escapeSelector(key) + '_id';
Line 203:
const keyId = $.escapeSelector(key) + '_id';
Line 230:
const input = document.getElementById($.escapeSelector(key) + '_id');