yysun/apprun

`for` attribute on `label`s doesn't work

Closed this issue · 1 comments

It seems like the for attribute on label elements has no effect when using JSX. I first noticed this in my own project and then found that it's reproducible in the apprun docs too -- https://apprun.js.org/docs/directive/#form-validation -- the <label> in the code snippet has a for attribute but the rendered HTML doesn't.

Screenshot 2023-05-10 at 7 58 01 PM

Any thoughts you have would be appreciated. Thank you for all your work on this library!

yysun commented

Thank you for reporting the issue. It has been fixed in v3.31.0 now.