Replies: 1 comment
-
For vuejs <RadioGroup ...>
...
<input ... @keydown.stop />
...
</RadioGroup> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The spacebar key-press gets interrupted by something in the
RadioGroup
component. The result is that I can't type a whitespace when my input is insideRadioGroup
.I was unable to diagnose what exactly is causing this issue but this got me wondering... is it bad practice to nest
<input>
inside<RadioGroup>
?As a hack-fix, I've added an
onKeyDown
event to my input:Beta Was this translation helpful? Give feedback.
All reactions