[go: up one dir, main page]

Toggle left position should not allow description or help text

Follow-up from !2841 (comment 960912280).

Our design guidelines state that help text and description are not available when the toggle has a horizontal layout (left position):

Help text: Only available using a vertical layout. — https://design.gitlab.com/components/toggle/#help-text

Furthermore, this is also represented in our UI Kit:

image

For some reason this behavior (not allowing description and help text when left positioned) was not implemented, as seen in https://gitlab-org.gitlab.io/gitlab-ui/?path=/story/base-toggle--default&args=labelPosition:left

image