You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute the ValidateObjectTree it doesn't validate the field 'InfoInt' which is 'int?', looking through the source code I found on 'EditContextExtensions.cs' on the 'ValidateProperty' method you check for this:
if (property.PropertyType.IsValueType)
return;
This prevent any integer validation, if I comment this out the validation works as planned.
Any special reason for this? Can I safely comment this out? Any help is appreciated.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I've a struct similar to this:
On the submit button I've the following code:
When I execute the ValidateObjectTree it doesn't validate the field 'InfoInt' which is 'int?', looking through the source code I found on 'EditContextExtensions.cs' on the 'ValidateProperty' method you check for this:
This prevent any integer validation, if I comment this out the validation works as planned.
Any special reason for this? Can I safely comment this out? Any help is appreciated.
Thanks
The text was updated successfully, but these errors were encountered: