In the Story-Books, the FormControls will focus and mark the users input if clicked on them. However, if the user clicks directly on the input-field that is wrapped by the FormControl, the input will not be marked.
Expected behavior
Clicking inside a FormControl should focus and mark the users input.
Actual behavior
The nested input is always focused, but only marked if any child of or the FormControl itself, except for the input-field, is clicked.
Issue summary
In the Story-Books, the FormControls will focus and mark the users input if clicked on them. However, if the user clicks directly on the input-field that is wrapped by the FormControl, the input will not be marked.
Expected behavior
Clicking inside a FormControl should focus and mark the users input.
Actual behavior
The nested input is always focused, but only marked if any child of or the FormControl itself, except for the input-field, is clicked.
Steps to reproduce the problem
This can be reproduced in the current StoryBook: https://swirl-storybook.flip-app.dev/?path=/docs/components-swirlformcontrol--docs I will refer to the top-most "Form Control Label" to describe the reproduction-steps.
Specifications