Completed
Last Updated: 28 Oct 2022 08:55 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)

Bug report

The Checkbox is not working correctly when it is inside a Toolbar.
The issue is a regression starting with Kendo - 2022.3.913

Reproduction of the problem

Open the following dojo example:
https://dojo.telerik.com/eLuhaxuV/4

Click on the Checkbox.

Expected/desired behavior

The checkbox value should change when it is clicked.

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all ]
Unplanned
Last Updated: 29 Jun 2022 13:04 by Nathan

Currently, if the field the CheckBoxFor helper is bound to has a custom validation attribute, for example:

[MyCustomValidation(ErrorMessage = "Custom error message.")]
public bool Checkme { get; set; } 

[AttributeUsage(AttributeTargets.Property)]
public class MyCustomValidation : ValidationAttribute, IClientValidatable
{

//...

}

the CheckBox's input does not render a data-val-mycustomvalidation="Custom error message."  attribute.

The standard MVC @Html.CheckBoxFor helper renders the data-val attribute, so it would be nice if the Telerik's CheckBoxFor helper had the same capabilities.

More details: Ticket ID: 1570806

Completed
Last Updated: 16 Mar 2022 09:24 by ADMIN
Release 2022.R1.SP.next

Bug report

Reproduction of the problem

  1. Add a CheckBoxFor helper bound to a model field that has a DisplayName set:
@(Html.Kendo().CheckBoxFor(m => m.IsAvailable).Label(string.Empty))
[Display(Name = "test")]
public bool IsAvailable { get; set; }

Current behavior

Passing string.Empty or "" to the Label option has no effect and a label with text "test" is displayed.

Expected/desired behavior

The text of the DisplayName annotation should not be rendered as label, when an empty string is passed as a parameter to the Label option.

Environment

  • Kendo UI version: 2022.1.119
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 15 Feb 2022 09:44 by ADMIN
Release 2022.R1.SP.next

Bug report

When CheckBox is initialized by using Html helper in Telerik UI MVC app, the.HtmlAttributes() configuration applies the attributes to the hidden input field instead of the Checkbox.

Reproduction of the problem

  1. Sample Checkbox configuration :
    @Html.Kendo().CheckBox().Name("mybox").HtmlAttributes(new { onclick = "MyHandler()" });

  2. The attached attributes are applied to the hidden input field, not to the checkbox itself.

Current behavior

The attached attributes are applied to the hidden input field, not to the checkbox itself.

Expected/desired behavior

The attached attributes are applied to the checkbox.

Environment

  • Kendo UI version: 2022.1.119
  • Browser: [all ]