Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add label next to switch #326

Open
pedzed opened this issue Jun 27, 2024 · 1 comment
Open

Unable to add label next to switch #326

pedzed opened this issue Jun 27, 2024 · 1 comment

Comments

@pedzed
Copy link

pedzed commented Jun 27, 2024

Apparently the switch component already internally makes use of a label. Is it not possible to have a custom label with text next to the switch?

This is my attempt:

<label>
    <mdui-switch></mdui-switch> Toggle the switch
</label>

image

@zdhxiong zdhxiong added this to mdui Jul 15, 2024
@zdhxiong zdhxiong moved this to Todo in mdui Jul 15, 2024
@wyatt1112
Copy link

You may refer to the mdui List element in the document.😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants