Try our conversational search powered by Generative AI!
AI OnAI Off
Nov 20, 2015
Dec 21, 2015
CMS Core
Closed, Fixed and tested
Steps to reproduce
1. Use a content type that looks like this:
[ContentType] public class RangeTest : PageData { [Range(1, 10)] public virtual int RestrictedRange { get; set; } }
2. Go to edit mode.
3. Change the value of RestrictedRange to 0 or less.
Expected: Get client side validation
Actual: No client side error. When saving, a server side validation error is given.