Skip to content

BS5: checkbox has invalid markup #6

@dakur

Description

@dakur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions