Before opening an issue, please search for duplicates (opened and closed)
https://github.com/valor-software/ngx-bootstrap/issues
There's no need to open an issue here if you want to ask general question, use StackOverflow or Slack instead
I'm trying to use your component in my angular 5 project but getting the below error message
ERROR in Error at D:/PROJELER/2017/tps-hr/hrWeb/node_modules/ngx-bootstrap/datepicker/daypicker.component.d.ts.DayPickerComponent.html(53,38): ("
Any plan soon to support angular 5
Thanks in advance.
Nelly
Using Plunkr, StackBlitz is the best way to show your issue. Issues without link to an example of reproduction might be closed.
You can use one of starter templates:
Plunkr: https://plnkr.co/edit/0NipkZrnckZZROAcnjzB?p=preview
StackBlitz: https://stackblitz.com/edit/ngx-bootstrap-stack?file=app%2Fapp.module.ts
ngx-bootstrap:
Angular:
Bootstrap:
what version of ngx-bootstrap use?
+1
That error is fixed in 2.0.0-beta.8.
Unfortunately in 2.0.0-beta.8 I now get:
ERROR in client/app/email-compose/email-compose.component.ts(6,10): error TS2305: Module '"/Users/jeffwilde/Projects/cryptototrade/node_modules/ngx-bootstrap/modal/modal-options.class"' has no exported member 'BsModalRef'.
[1] client/app/admin-email-template/admin-email-template.component.ts(16,10): error TS2305: Module '"/Users/jeffwilde/Projects/cryptototrade/node_modules/ngx-bootstrap/modal/modal-options.class"' has no exported member 'BsModalRef'.
Try to replace in your code:
import {BsModalRef} from 'ngx-bootstrap/modal/modal-options.class'
by
import {BsModalRef} from 'ngx-bootstrap/modal'
Had the same Error, @johaven 's fix worked for me! Thanks.
@johaven thanks:)
Had the same Error, after update to version 2.0.0-beta8. @johaven solution works. Thank you !!
node_modules/ngx-bootstrap/locale"' has no exported member 'hu'.
Hu not yet published
Tomorrow
Thank you.
Is there a way for datepicker to only save date on click and not time. Similar to options in AngularJs? When user is picking his past experience it should not pick time from calendar. Not able to avoid it on rebinding the data and re editing calendar from form. This should happen on html tag i believe and not model.
Datepicker works with raw date objects, plus its planned to add timepicker inside of datepicker
I wish there was another date picker with out time in it. There is a problem with 2 way binding which adds up the time and that does not bind on to data tables from the forms in the SPA. It adds up time to other models which is not needed to show.to end users. :(
Bind datepicker to property setter wich will cut of time on save
Most helpful comment
Try to replace in your code:
by