Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BS5: checkbox has invalid markup #6

Open
dakur opened this issue Jun 21, 2021 · 0 comments
Open

BS5: checkbox has invalid markup #6

dakur opened this issue Jun 21, 2021 · 0 comments

Comments

@dakur
Copy link

dakur commented Jun 21, 2021

According to BS5 docs, correct markup is:

<input>
<label>...</label>

instead of:

<label>
    <input>
</label>

It works at basic level, but for example :disabled state does not make label text look like disabled. That's because input:checked ~ label selector does not match.

The solution is probably to fix nette/forms markup as the current solution is hard-coded and kind of obsolete – see nette/forms#106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant