Decimal DataAnnotations does not validate more than 999,999

0

I have a decimal that when entering a value greater than 999999 this does not leave it as valid in the model state.

[Required] [Range (0.9, errormesage ...)] public decimal variable {get; set;}

I have tried removing the dataannotations by changing maxlength of the input I have tried adding max and min, and nothing.

Any idea what it could be?

    
asked by Max Fuentes 11.09.2018 в 22:28
source

0 answers