You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue here is that ngx-bootstrap/index doesn't export any locales, they're all exported from ngx-bootstrap/locale but SystemJS can't handle this path, so we'll need to additionally export locales in ngx-bootstrap/index
Trying to use another locale for the new datepicker as described in the docs, this error gets thrown:
(SystemJS) Cannot set property 'abbr' of undefined
The error comes out of
defineLocale('de', de);
added to the module. The locale objectde
is undefined when hisabbr
attribute is set...The issue remains if the import statement is changed from
import { de } from 'ngx-bootstrap/locale';
to
import { de } from 'ngx-bootstrap';
(And the editor complains that
ngx-bootstrap/index has no exported member 'de'
.)Config:
The text was updated successfully, but these errors were encountered: