diff --git a/src/app/workspace/resource/values/yet-another-date-value/date-value-handler/date-value-handler.component.html b/src/app/workspace/resource/values/yet-another-date-value/date-value-handler/date-value-handler.component.html index 91a1ecacb2..96dc961936 100644 --- a/src/app/workspace/resource/values/yet-another-date-value/date-value-handler/date-value-handler.component.html +++ b/src/app/workspace/resource/values/yet-another-date-value/date-value-handler/date-value-handler.component.html @@ -7,7 +7,7 @@ diff --git a/src/app/workspace/resource/values/yet-another-date-value/date-value-handler/date-value-handler.component.ts b/src/app/workspace/resource/values/yet-another-date-value/date-value-handler/date-value-handler.component.ts index 418cc5049a..e7cc1e4fbc 100644 --- a/src/app/workspace/resource/values/yet-another-date-value/date-value-handler/date-value-handler.component.ts +++ b/src/app/workspace/resource/values/yet-another-date-value/date-value-handler/date-value-handler.component.ts @@ -300,7 +300,8 @@ export class DateValueHandlerComponent extends _MatInputMixinBase implements Con this.onChange(this.value); } - togglePeriodControl() { + togglePeriodControl(ev: Event) { + ev.preventDefault(); this.isPeriodControl.setValue(!this.isPeriodControl.value); }