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

Validation Demo uses incorrect class for valid data after invalid attempt

1 Answer 35 Views
Validation
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 21 Jan 2013, 01:52 PM
You can reproduce the steps here: http://demos.kendoui.com/web/validator/index.html

Click "Submit" without entering any valid data.
The error status "Oops!..." is displayed in red.
Correct all the errors by entering valid data and then click "Submit" again.
The status "Hooray! Your tickets have been booked" is displayed in red instead of green.

If you enter valid data immediately on entering the page you get the message in green as you should.

It seems that once you've had an "invalid" class assigned to the status that class sticks and simply adding the "valid" class doesn't fix it.

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 22 Jan 2013, 12:51 PM
Hi Ian,

Thank you for the report. We have fix the demo's code and it will be updated with the next official build.

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Validation
Asked by
Ian
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or