Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -11,7 +11,7 @@ export const getFormSchemas = ({ structJSON: structJson, required, transportType |
11 | 11 | }: StructJSON): FormSchema => { |
12 | 12 | const { specs } = dataType || {} |
13 | 13 | const { valueRange } = specs! as Specs |
14 | - const { max = 2147483647, min = -2147483648 } = valueRange || {} | |
14 | + const { max = Number.MAX_SAFE_INTEGER, min = Number.MIN_SAFE_INTEGER } = valueRange || {} | |
15 | 15 | return { |
16 | 16 | field: identifier, |
17 | 17 | label: functionName, | ... | ... |