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
Looking at the source code (ngx-bootstrap/src/datepicker/datepicker-inner.component.ts) I saw that dateDisabled feature was added.
@Input() dateDisabled: { date: Date; mode: string }[];
Error:
compiler.es5.js:1694 Uncaught Error: Template parse errors:
Can't bind to 'dateDisabled' since it isn't a known property of 'input'. ("
#dp="bsDatepicker"
bsDatepicker
[ERROR ->][dateDisabled] = "dList"
Inside template form:
<input type="text"
class="form-control"
[dateDisabled]="excludeDatesArray"
#dp="bsDatepicker"
bsDatepicker >
where excludeDatesArray = [{ date: new Date(); mode: 'day' }]
ngx-bootstrap: ^2.0.0-rc.0
Angular: 4.4.6
Bootstrap: 4.0.0-alpha.6
Angular CLI
@valorkin Privet Dmitriy! Ne mogu ponyat' chto proishodit s dateDisabled... kosyak kakoj to. Posmotri pojalujsta.
I am sure I was merging this PR, but not yet published
@valorkin When you are planing to publish it? Thanks
@valorkin was it published already?
It's not working when I used dateDisabled property
Below error occurred when using input
Can't bind to 'dateDisabled' since it isn't a known property of 'input'
Is this feature in the latest version of ngx-bootstrap ?
How soon can we see this feature ?
Is this feature in progress? Need to know as I will implement and submit PR if not.
Man , I created my own datepicker . Thanks Valor Software . For not having this feature . Otherwise i would have never learnt how to create Datepicker
Any update on this feature, I want to display sold out dates in date picker and this really very important feature for that.
this feature available in v3.3.0
after post release testing it will became @latest
Most helpful comment
@valorkin Privet Dmitriy! Ne mogu ponyat' chto proishodit s dateDisabled... kosyak kakoj to. Posmotri pojalujsta.