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

Switch ReadOnly, Disabled unexpected behavior #1083

Closed
akusmin opened this issue Jul 5, 2020 · 0 comments
Closed

Switch ReadOnly, Disabled unexpected behavior #1083

akusmin opened this issue Jul 5, 2020 · 0 comments
Labels
Type: Bug 🐞 Something isn't working
Milestone

Comments

@akusmin
Copy link
Contributor

akusmin commented Jul 5, 2020

Unexpected behavior on setting ReadOnly and Disabled properties.

Expected behavior for ReadOnly="true": component is active but not able to switch value.
Actual behavior for ReadOnly="true": component is active and it is able to switch value.

Expected behavior for Disabled="true": component is not active.
Actual behavior for Disable="true": component is active, it is not able to switch the value.

<Switch TValue="bool" Checked="true" ReadOnly="true" Disabled="true">ReadOnly="true" Disabled="true"</Switch>
<Switch TValue="bool" Checked="true" ReadOnly="false" Disabled="true">ReadOnly="false" Disabled="true"</Switch>
<Switch TValue="bool" Checked="true" ReadOnly="false" Disabled="false">ReadOnly="false" Disabled="false"</Switch>
<Switch TValue="bool" Checked="true" ReadOnly="true" Disabled="false">ReadOnly="true" Disabled="false"</Switch>
@stsrki stsrki added the Type: Bug 🐞 Something isn't working label Apr 7, 2021
@stsrki stsrki modified the milestones: 0.9.4, 0.9.3 Apr 7, 2021
This was referenced Apr 9, 2021
@stsrki stsrki closed this as completed Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐞 Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants