systelab/systelab-components

Autofocus directive not working on systelab-numpad

Closed this issue · 0 comments

Describe the bug
When autofocus directive is set to true, focus is not set when using systelab.component (maybe other components have same problem)

To Reproduce
Steps to reproduce the behavior:

  1. Create a new instance of systelab-numpad in HTML file
  2. Set [autofocus] = true
  3. See error (when loading, focus is not set)

Expected behavior
When autofocus is set to true in html template, it should render and right after, set focus to desirable object/input/component/whatever

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version Version 100.0.4896.127 (Official Build) (64-bit)