-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
BugC: ValidatorFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemSEV: MediumjQuery
Milestone
Description
Bug report
Validator throws JS error on validating input with single quote in its name attribute value.
Note: single quotes are not valid characters for HTML 5 attributes - https://www.w3.org/TR/2011/WD-html5-20110525/syntax.html#attributes-0 - "Attribute names must consist of one or more characters other than the space characters, U+0000 NULL, U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+003E GREATER-THAN SIGN (>), U+002F SOLIDUS (/), and U+003D EQUALS SIGN (=) characters, the control characters, and any characters that are not defined by Unicode."
Reproduction of the problem
- Run https://dojo.telerik.com/@Dimitar-Goshev/araWovUX
- Click on Validate button
Current behavior
Syntax error, unrecognized expression: input[name='Field's Name']:checked
Expected/desired behavior
No error, validation works as expected
Environment
- Kendo UI version: 2021.2.616
- Browser: all
Metadata
Metadata
Assignees
Labels
BugC: ValidatorFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemSEV: MediumjQuery