Non string properties?

Sep 14, 2012 at 4:17 PM

I can not get a decimal or int property to work.

Is this a limiation of am I maybe just doing something wrong.

Sep 14, 2012 at 4:24 PM

It is not a limitation. The framework is completely type agnostic. 

Sep 14, 2012 at 5:33 PM

Thanks for the quick feedback!

Where I'm struggling is trying to make an INT field required using the [RequiredRule] method or custom logic.

I can set it up to so that it has to be > X, but if the user blanks out the field it's not raising a validation error for requried.

thanks for any help.




Sep 16, 2012 at 7:50 AM

Please check that when user blanks out the field then the property setter is getting called (put a break point in the property setter) and the validation gets invoked. 

Sep 17, 2012 at 5:41 PM

I think the issue was having to make the properties nullable.