Unplanned
Last Updated: 11 Apr 2025 10:33 by Paul
Paul
Created on: 11 Apr 2025 10:33
Category: Checkbox
Type: Feature Request
4
Make checkboxes consistent with other controls when setting ID as attribute

If I set the id directly in the HTML attributes for a checkbox, then the result when rendered has duplicate input elements with the same ID in the DOM. 

Below is an example of this

ASP.NET Core REPL - ASP.NET Core Components Playground & Testing - Telerik

This issue does not exist on any of the other Telerik controls that we've used (as far as I'm aware). This includes ones where there are two inputs - one for selecting a value and the other for storing it e.g. ComboBox

https://netcorerepl.telerik.com/wfuoYWkZ40lQM5hY39



or similarly for NumericTextBox 

https://netcorerepl.telerik.com/mfOIYikZ44Kr8qjU21



The best solution would be to make checkboxes consistent with other controls by preventing the IDs from being duplicated when the property is set.


0 comments