alaska-field-number
Advanced tools
Comparing version 0.12.2 to 0.12.3
{ | ||
"name": "alaska-field-number", | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"description": "Alaska number field", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -29,3 +29,10 @@ // @flow | ||
super(props); | ||
let value = props.value || {}; | ||
let value: { | ||
value1?: string, | ||
gte?: string, | ||
lte?: string, | ||
gt?: string, | ||
lt?: string, | ||
// $Flow | ||
} = props.value || {}; | ||
if (typeof value === 'string') { | ||
@@ -35,3 +42,3 @@ value = { value1: value }; | ||
let mode = 1; | ||
let value1 = value.value1; | ||
let value1 = value.value1 || ''; | ||
let value2 = ''; | ||
@@ -38,0 +45,0 @@ if (value.gte) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13038
409