Even if Ichange locale
https://valor-software.com/ngx-bootstrap/#/datepicker#locales
I always get "Invalid date" when I put manually invalid date.
I would rather like to put nothing in this input or If necessary text in locale language.
How to fix it?
you can catch for validation
https://github.com/valor-software/ngx-bootstrap/blob/development/src/datepicker/bs-datepicker-input.directive.ts#L90
this one parses manual input, and sets it to input.value
Is there any plan to fix this issue ? I really want to customize this text and it would be great if you provide us a way to change that
Thank you
Getting Invalid date while editing the reactive form ? can anyone have solution about this.
<input type="text" class="form-control" placeholder="day/month/year" bsDatepicker [bsConfig]="{ dateInputFormat: 'DD/MM/YYYY' }" formControlName="Mdate" />
<input type="text" class="form-control" placeholder="day/month/year" bsDatepicker [bsConfig]="{ dateInputFormat: 'DD/MM/YYYY' }" formControlName="Edate" />
+1
Would be good to have in consideration if the solution would come from the _locale_ file or using the native i18n
Most helpful comment
Is there any plan to fix this issue ? I really want to customize this text and it would be great if you provide us a way to change that
Thank you