This is a migrated thread and some comments may be shown as answers.

k-invalid-msg class removed in kendo 2020 version?

5 Answers 777 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Sowjanya
Top achievements
Rank 1
Sowjanya asked on 02 Dec 2020, 01:28 PM
Recently upgraded from kendo 2016 to 2020, I no longer able to see the class k-invalid-msg in content/kendo. If its removed in latest kendo what is the alternate?

5 Answers, 1 is accepted

Sort by
0
Stoyan
Telerik team
answered on 03 Dec 2020, 04:16 PM

Hi, Sowjanya,
Thank you for your question.

The k-invalid-msg class is still around. However as referred in this article on backward compatibility, a breaking change concerning the Validator was implemented recently. If the  workaround suggested there doesn't help, I would ask you to share some more details about your issue. A runnable sample would be most appreciated.

Regards,
Stoyan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Sowjanya
Top achievements
Rank 1
answered on 03 Dec 2020, 04:26 PM
Upgraded to the version of Kendo UI v2020.2.513 and copied the respective css files.
0
Stoyan
Telerik team
answered on 04 Dec 2020, 01:20 PM

Hi Sowjanya,
thank you for providing more information.

From the screenshot you shared I understand that the issue is with your IDE's IntelliSense, is that correct? You can try to host the CSS theme files locally as described in this forum thread: https://www.telerik.com/forums/css-intellisense-not-working

Let me know if this suggestion helps resolve the issue.

Regards,
Stoyan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Sowjanya
Top achievements
Rank 1
answered on 07 Dec 2020, 07:43 AM

Surprisingly I don't find k-invalid-msg in any of the css files in latest kendo. This is the reason it shows the error message that unknown class. Can you help me what am i missing here? 

My upgraded version is Kendo UI v2020.2.513.

0
Stoyan
Telerik team
answered on 09 Dec 2020, 07:30 AM

Hello, Sowjanya,
thank you for your follow up.

I investigated further and indeed the k-invalid-msg class has been removed. The reason for this is the previously mentioned changes in the Kendo Validator styling. That said, if you have used it as a selector, for example, you can continue using it, though no styling will be applied for it. In the updated Validator we have replaced k-invalid-msg with the more concrete k-form-error and k-form-hint, needed for the updated styling. Should you need further details about the current classes I can suggest inspecting the DOM for complete details on the HTML markup and classes applied after validation.

Hopefully, this clears up the issue.

Regards,
Stoyan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ToolTip
Asked by
Sowjanya
Top achievements
Rank 1
Answers by
Stoyan
Telerik team
Sowjanya
Top achievements
Rank 1
Share this question
or