Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Slight issue with horizontal forms. #9

Closed
@barisbalic

Description

Thanks very much for adding this extension, really happy to have the added consistency. I've encountered a problem, potentially by design, but I suspect it just wasn't one of your use-cases!

Firstly, if you provide a label before the input, but otherwise use the code as in your examples, no checkbox is rendered at all, an example here...

<div class="field">
  <label class="label" for="member_is_observer_account">Is observer account</label>
  <input class="is-checkbox" id="member_is_observer_account" name="member[is_observer_account]" type="checkbox" value="true">
</div>

One way to cheat is to put an empty label after the input, however when the two elements are no longer siblings, as with horizontal forms, it is no longer possible to click directly on the checkbox as the example below would demonstrate. This example is a combination of your classes with the structure that Bulma dictates for other horizontal fields.

Let me know if any of this doesn't make sense or if you need any help!

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions