diff --git a/src/plugins/timeConductor/Conductor.vue b/src/plugins/timeConductor/Conductor.vue index de60b54504..73017d8117 100644 --- a/src/plugins/timeConductor/Conductor.vue +++ b/src/plugins/timeConductor/Conductor.vue @@ -366,8 +366,8 @@ export default { } }, setViewFromClock(clock) { - this.isFixed = clock === undefined; this.clearAllValidation(); + this.isFixed = clock === undefined; }, setViewFromBounds(bounds) { this.formattedBounds.start = this.timeFormatter.format(bounds.start); @@ -387,10 +387,15 @@ export default { } }, clearAllValidation() { - [this.$refs.startDate, this.$refs.endDate, this.$refs.startOffset, this.$refs.endOffset].forEach((input) => { - input.setCustomValidity(''); - input.title = ''; - }); + if (this.isFixed) { + [this.$refs.startDate, this.$refs.endDate].forEach(this.clearValidationForInput); + } else { + [this.$refs.startOffset, this.$refs.endOffset].forEach(this.clearValidationForInput); + } + }, + clearValidationForInput(input){ + input.setCustomValidity(''); + input.title = ''; }, validateAllBounds() { return [this.$refs.startDate, this.$refs.endDate].every((input) => {