Unplanned
Last Updated: 02 Oct 2024 14:38 by Kaya
Created by: Kaya
Comments: 3
Category: Checkbox
Type: Bug Report
1

### Bug report

When adding custom attributes to the CheckBox Taghelper, they are not added to the input element.

### Reproduction of the problem

1. Define a CheckBox Taghelper and add 'data-bind="checked: Test"' to its tag:

<kendo-checkbox name="Name" data-bind="checked: Test"></kendo-checkbox>

2. Inspect the CheckBox element and you will see that the "data-bind" attribute is missing.

3. When using the HtmlHelper version of the CheckBox, the attributes added through the HtmlAttributes() option are added as expected.

A REPL sample for reproduction: https://netcorerepl.telerik.com/mIuZlRle01kh6Ly043

### Expected/desired behavior

The specified attributes must be added to the input element of the CheckBox Taghelper.

### Environment

* **Telerik UI for ASP.NET Core version: 2024.2.514
* **Browser: [all]

Declined
Last Updated: 13 Sep 2023 14:17 by ADMIN
Created by: Dan
Comments: 9
Category: Checkbox
Type: Feature Request
2
I need the Checkbox Component to have a readonly configuration/ API method to prevent the user from editing it but still send its value to server.
Declined
Last Updated: 02 Nov 2022 15:20 by ADMIN

### Bug report

The CheckBox TagHelper does not render the attribute "required" and a custom class.

### Reproduction of the problem

The CheckBox TagHelper definition:

<kendo-checkbox id="KendoCheckboxRequiredByHtml" class="form-check-input" required>
</kendo-checkbox>

It generates the following markup:

<input id="KendoCheckboxRequiredByHtml" name="KendoCheckboxRequiredByHtml" type="checkbox" value="true" data-role="checkbox" class="k-checkbox k-checkbox-md k-rounded-md">
<input name="KendoCheckboxRequiredByHtml" type="hidden" value="false">

A sample for reproduction is attached.

### Expected/desired behavior

The attribute "required" and the class "form-check-input" to be set to the generated input element.

### Environment

* **Kendo UI version: 2022.2.510
* **Browser: [all]

Completed
Last Updated: 01 Nov 2022 14:59 by ADMIN
Created by: Frank
Comments: 4
Category: Checkbox
Type: Feature Request
1

Hello,

under
https://demos.telerik.com/aspnet-core/checkbox/index
I found that a checkbox can be used as a telerik component.
Unfortunately my intellisense does not show a suggestion for checkbox when I try to use it as a tag helper. 
So my question ist:
Can checkbox be used with Tag Helper in Asp.Core 3.1 (Razor Pages) ?
Regards

 

Completed
Last Updated: 29 Apr 2022 13:09 by ADMIN
Release 2022.R2
Created by: Andrew
Comments: 0
Category: Checkbox
Type: Feature Request
0
The CheckBox Tag Helper should expose the for attribute to support model binding, similar to the HTML Helpers CheckBoxFor(m=>m.MyBoolProperty).
Unplanned
Last Updated: 25 Nov 2020 11:42 by ADMIN
Created by: Michael Glienecke
Comments: 1
Category: Checkbox
Type: Feature Request
1

Hi,

to have the option to declare a checkbox nullable (tri-state) would be a real enhancement as this is often needed by us.

All the best

Michael