mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 10:40:54 +00:00
Fix DlgFromDict form labels not focussing/selecting corresponding input element
Use htmlCode += '<label for="' + keyId + '">' + key + '</label>';
This commit is contained in:
parent
d4b52796c9
commit
4b064bccc0
@ -146,7 +146,7 @@ export class GUI
|
||||
|
||||
if (!inUrl)
|
||||
{
|
||||
htmlCode += '<label for="' + key + '">' + key + '</label>';
|
||||
htmlCode += '<label for="' + keyId + '">' + key + '</label>';
|
||||
|
||||
// if the field is required:
|
||||
if (key.slice(-1) === '*')
|
||||
|
Loading…
Reference in New Issue
Block a user