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

[Feature Request] UToggle true/false value #1139

Closed
ElYaiko opened this issue Dec 20, 2023 · 1 comment
Closed

[Feature Request] UToggle true/false value #1139

ElYaiko opened this issue Dec 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ElYaiko
Copy link

ElYaiko commented Dec 20, 2023

Description

It would be good to use in the UToggle value based instead only booleans to toggle the component.

For example this props could be added:

<UToggle
v-model="toggle"
trueValue="one"
falseValue="two"
/>

I hope this can be implemented, Thanks!.

Additional context

No response

@benjamincanac
Copy link
Member

Closing this as you can easily display the value you need based on the boolean model value.

@benjamincanac benjamincanac closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants