formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.86k stars 1.05k forks source link

[BUG] Shortcut key is not working for the first time after form loading #3226

Closed sriram275 closed 3 years ago

sriram275 commented 3 years ago

Environment

Please provide as many details as you can:

Steps to Reproduce

  1. Create a form with checkbox ( and select some shortcut key)
  2. After rendering this form try using the shortcut key with keyboard

Expected behavior

Shortcut key should work even for first time after initial load of the form

Observed behavior

Shortcut key is not working for the first time after initial load of the form. It is working after manual selecting the checkbox.

Guess

Is it because of no focus on the component?

Example

https://jsfiddle.net/sriram/b4nw5rd7/

wag110894 commented 3 years ago

Hello @sriram275,

We are able to replicate this issue and have added this to our backlog. We welcome a PR or have a process to expedite the issue if you are interested. For reference, the ticket number is FJS-1216.

We will let you know once this issue has been resolved.

wag110894 commented 3 years ago

Hello @sriram275,

This issue has been resolved in FJS 4.12.1.