5 Answers, 1 is accepted
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/.
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/.
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.
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/.