[PR #1115] Switch: clicking a label changes a value of the corresponding switch #2524

Open
opened 2026-01-29 18:19:15 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/1115

State: closed
Merged: Yes


As you can observe in the login demo, clicking the Remember me label doesn't change the value of the switch. In case of ordinary checkboxes it would change the value.
Here's a pull request to make labels for switches behave as they do for checkboxes.

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/1115 **State:** closed **Merged:** Yes --- As you can observe in the [login ](https://blazor.radzen.com/login)demo, clicking the _Remember me_ label doesn't change the value of the switch. In case of ordinary checkboxes it would change the value. Here's a pull request to make labels for switches behave as they do for checkboxes.
claunia added the pull-request label 2026-01-29 18:19:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2524