Attribute "stacked" not applied on "ngl-checkbox-toggle"
alex-vladut opened this issue · comments
alex-vladut commented
In the documentation for Checkbox components there is an example containing the attribute stacked
in order to show the label and checkbox on distinct lines. This works fine for a regular checkbox, but is not applied for the toggle type one.
Also, even though the label states Stacked layout the stacked
attributes is not actually applied (applying the attribute doesn't make any difference to the way the component is displayed):
<ngl-checkbox-toggle label="Stacked layout" [error]="hasError ? error : null" enabledText="Active" disabledText="Inactive">
<input ngl type="checkbox" [required]="required" [disabled]="disabled">
</ngl-checkbox-toggle>
The example is taken from this page: http://ng-lightning.github.io/ng-lightning/#/components/checkboxes