You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It generates checked="" if the value matches and nothing otherwise, so it technically works, but it's inconvenient and it would be cleaner to generate an empty attribute.
It would be nice if checked=[value == 'a'] was rendered to checked or nothing.
The text was updated successfully, but these errors were encountered:
On that note: I notice that the optional attributes section is on a different page to the other splices and toggles. I see how that can be confusing. So I'm happy to accept a PR that moves them together.
I need something like this:
This doesn't work because it just generates
checked="true"
orchecked="false"
. I can work around it like this:It generates
checked=""
if the value matches and nothing otherwise, so it technically works, but it's inconvenient and it would be cleaner to generate an empty attribute.It would be nice if
checked=[value == 'a']
was rendered tochecked
or nothing.The text was updated successfully, but these errors were encountered: