@hipay/hipay-material-ui 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -378,8 +378,8 @@ function (_React$Component) {
|
|
378
378
|
});
|
379
379
|
|
380
380
|
if (selectedOption) {
|
381
|
-
this.props.onChange('from',
|
382
|
-
this.props.onChange('to',
|
381
|
+
this.props.onChange('from', selectedOption.from.toDate());
|
382
|
+
this.props.onChange('to', selectedOption.to.toDate());
|
383
383
|
this.props.onChange('fromError', false);
|
384
384
|
this.props.onChange('toError', false);
|
385
385
|
}
|
@@ -378,8 +378,8 @@ function (_React$Component) {
|
|
378
378
|
});
|
379
379
|
|
380
380
|
if (selectedOption) {
|
381
|
-
this.props.onChange('from',
|
382
|
-
this.props.onChange('to',
|
381
|
+
this.props.onChange('from', selectedOption.from.toDate());
|
382
|
+
this.props.onChange('to', selectedOption.to.toDate());
|
383
383
|
this.props.onChange('fromError', false);
|
384
384
|
this.props.onChange('toError', false);
|
385
385
|
}
|