[PR #928] Add ReadOnly property to CheckBoxList and CheckBoxListItem #2409

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

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

State: closed
Merged: Yes


Here is my pull request which adds the ReadOnly property to the CheckBoxList and the CheckBoxListItem. Additionally I added a commit to set the tabindex of the single CheckBox to -1 if the CheckBox is ReadOnly.

I have a few remaining questions about this approach.

  1. Should the method 'SelectAll' ignore read-only and disabled checkboxes in the list?
  2. Should the method 'IsAllSelected' ignore read-only and disabled checkboxes in the list?
  3. How to handle CheckBoxListItems which are gerenated through the data-property. The CheckBoxList has parameters for the TextProperty and a ValueProperty, should we add similar properties for Disabled and ReadOnly?

I look forward to your reaction.

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/928 **State:** closed **Merged:** Yes --- Here is my pull request which adds the ReadOnly property to the CheckBoxList and the CheckBoxListItem. Additionally I added a commit to set the tabindex of the single CheckBox to -1 if the CheckBox is ReadOnly. I have a few remaining questions about this approach. 1. Should the method 'SelectAll' ignore read-only and disabled checkboxes in the list? 2. Should the method 'IsAllSelected' ignore read-only and disabled checkboxes in the list? 3. How to handle CheckBoxListItems which are gerenated through the data-property. The CheckBoxList has parameters for the TextProperty and a ValueProperty, should we add similar properties for Disabled and ReadOnly? I look forward to your reaction.
claunia added the pull-request label 2026-01-29 18:18:42 +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#2409