Skip to content

@serenity-is/corelib / BooleanEditorOptions

Interface: BooleanEditorOptions

Defined in: src/ui/editors/booleaneditor.tsx:22

Options for the BooleanEditor.

Properties

labelPosition?

optional labelPosition: CheckLabelPosition

Defined in: src/ui/editors/booleaneditor.tsx:29

Where the field caption is, when the editor is rendered in a form field. At the start in the caption area by default. With End, the checkbox is placed first and the caption is shown after it, on the end side (right in LTR), which saves horizontal space and lets several checkboxes share a row. EndAligned leaves the caption area empty, so the checkbox lines up with the other editors, for one that is alone in its row.