Skip to content

Checkbox to be rendered outside the label tag #3172

@krzysztofspilka

Description

@krzysztofspilka

It refers to: http://docs.handsontable.com/0.21.0/demo-checkbox.html

At the moment we can decide whether a label is rendered before/after checkbox but it's still all happening inside the label tag, which means we can't use that famous and well known CSS hack to customize the design of a checkbox. We could add a new property to the pile:

Current:
label: {
position: 'after' /* or before */
}

New:
label: {
*separated: 'false', /* default value, if true = label will be a separated tag positioned before or after the checkbox /
position: 'after',
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions