I'm making use of ng-bootstrap's ngbDatepicker in a Reactive Form in an Angular2 project, and the dates are optional, however ngbDatepicker always marks the form as Invalid unless a date is selected.
Is there a way to exclude ngbDatepicker from the form validation, or to configure it so that it returns Valid whether it has a value set or not?
null
/undefined
model as opposed to, for example, an empty string? If you still face the problem please open an issue with a minimal reproduce scenario. – pkozlowski.opensource