react-flatpickr
Advanced tools
Comparing version 3.0.1 to 3.1.0
@@ -44,2 +44,9 @@ 'use strict'; | ||
} | ||
var optionsKeys = Object.getOwnPropertyNames(props.options); | ||
for (var index = optionsKeys.length - 1; index >= 0; index--) { | ||
var key = optionsKeys[index]; | ||
this.flatpickr.set(key, props.options[key]); | ||
} | ||
} | ||
@@ -46,0 +53,0 @@ }, { |
@@ -19,2 +19,9 @@ | ||
} | ||
const optionsKeys = Object.getOwnPropertyNames(props.options) | ||
for (let index = optionsKeys.length - 1; index >= 0; index--) { | ||
const key = optionsKeys[index] | ||
this.flatpickr.set(key, props.options[key]) | ||
} | ||
} | ||
@@ -21,0 +28,0 @@ |
{ | ||
"name": "react-flatpickr", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "flatpickr for React", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1797999
20775