In case initialDate is not defined, render as empty

pull/9729/head
Oliver Günther 3 years ago
parent 48e8e62c5b
commit 8ceaf62c5d
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      frontend/src/app/shared/components/op-date-picker/op-single-date-picker/op-single-date-picker.component.html

@ -2,7 +2,7 @@
#dateInput
[id]="id"
[name]="name"
[value]="initialDate"
[value]="initialDate || ''"
[ngClass]="classes + ' op-input'"
[size]="size"
[required]="required"

Loading…
Cancel
Save