@hipay/hipay-material-ui 3.4.0 → 3.4.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
}
|