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

Disabled doesn't work when in <label> #104

Open
mikob opened this issue Feb 15, 2019 · 3 comments
Open

Disabled doesn't work when in <label> #104

mikob opened this issue Feb 15, 2019 · 3 comments

Comments

@mikob
Copy link

mikob commented Feb 15, 2019

eg.

<label>
<toggle-button :disabled="true"> Something
</label>

is still toggleable.

@euvl
Copy link
Owner

euvl commented Feb 24, 2019

you need to close </toggle-button>

@euvl euvl closed this as completed Feb 24, 2019
@mikob
Copy link
Author

mikob commented Feb 24, 2019

That was just a transcribing error. The problem happens despite the closing tag (actually I have it self-closing). @euvl

@euvl euvl reopened this Feb 24, 2019
@euvl
Copy link
Owner

euvl commented Feb 26, 2019

Seems the issue might be that internally component uses "label" html element (don't ask me why i did it 2 years ago :D )

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

No branches or pull requests

2 participants