Completed
Last Updated: 11 Nov 2024 13:17 by ADMIN
Release 2024 Q4 (Nov)
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]

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).