Skip to content Skip to sidebar Skip to footer

Datepicker: Can't Bind To 'bsvalue' Since It Isn't A Known Property Of 'input'

In my Angular unit test, despite I've imported DatepickerModule.forRoot(), I'm getting: Error: Template parse errors: Can't bind to 'bsConfig' since it isn't a known property

Solution 1:

The mistake is that I'm importing DatepickerModule.forRoot(), but instead I need BsDatepickerModule.forRoot(),.

This is imported using:

import { BsDatepickerModule } from 'ngx-bootstrap';

Post a Comment for "Datepicker: Can't Bind To 'bsvalue' Since It Isn't A Known Property Of 'input'"