Does RangeSliderFor actually work with the Range data annotation?
When I use it there is an extra value added to ModelState. Say I bind RangeSlider to a 2 item array property of type Double called "Numbers", in the controller, in ModelState I see 3 separate keys in ModelState:
Numbers[0]
Numbers[1]
Numbers
Although the slider values are valid, key 3 (Numbers) has an error against it. Why does this value appear and how do I get rid of it?
When I use it there is an extra value added to ModelState. Say I bind RangeSlider to a 2 item array property of type Double called "Numbers", in the controller, in ModelState I see 3 separate keys in ModelState:
Numbers[0]
Numbers[1]
Numbers
Although the slider values are valid, key 3 (Numbers) has an error against it. Why does this value appear and how do I get rid of it?