RangeValidator client side type conversion to array