Skip to content

Refine inline errors for checkboxes / radios #7

@joshpencheon

Description

@joshpencheon

Continuing on from #6:

The annoyance, I think, is that e.g. checkbox collection uses checkbox, and same for radio. However, I think the checkboxes are distinct form attributes, so it doesn't matter if it adds help blocks to the collection as a whole, and each member?

For radio buttons, multiple UI elements share the same form attribute, so I think it only makes sense to have the errors on the collection, not individuals... can't think of a scenario you'd only want a single radio button anyway?!

The current code causes radio buttons, in particular, to render strangely with their labels (when using bootstrap markup).

Given our limited use of these controls, this is not a priority.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions