Skip to content
Snippets Groups Projects
Commit 57dbc9c7 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

ensure new date is set when min date or max date is adjusted, re #1871

parent cbbed38d
No related branches found
No related tags found
No related merge requests found
...@@ -125,6 +125,7 @@ export default { ...@@ -125,6 +125,7 @@ export default {
'maxDate', 'maxDate',
this.convertInputToNativeDate(current) this.convertInputToNativeDate(current)
); );
this.setUnixTimestamp();
}, },
mindate(current) { mindate(current) {
this.input.datepicker( this.input.datepicker(
...@@ -132,6 +133,7 @@ export default { ...@@ -132,6 +133,7 @@ export default {
'minDate', 'minDate',
this.convertInputToNativeDate(current) this.convertInputToNativeDate(current)
); );
this.setUnixTimestamp();
}, },
value(current, previous) { value(current, previous) {
if (current.toISOString() !== previous.toISOString()) { if (current.toISOString() !== previous.toISOString()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment