Open afeef1915 opened 4 years ago
hi @afeef1915 I'm not 100% sure, that I exactly get, what you mean, but, have you tried to change dateInputFormat in bsConfig to rangeInputFormat ?
Also, a small demo on Plunker / Stackblitz with more details will be very useful!
Thanks for the answer.
My issue was i need to use multiple date format .
14-4-2019 should be converted to 14-april-2019 14/4/2019 should be converted to 14-april-2019 14.4.2019 should be converted to 14-april-2019
etc
I know input is custom date format that's why it only support single date format.
refrence https://stackoverflow.com/questions/59942688/elementref-is-not-working-angular-8-with-bsdatepicker
What i Need
when i type date manually i need to reflect changed date to be bsdatepicker.
or Textfield only accept DD-MMM-YYYY date format
where im stuck
more example
Problem can be solved
If i change date in texbox datepicker date must change on key type
I got wrong date if change date manually in texbox.
That's why wrong date conversion.
Angular Code
Link
https://stackoverflow.com/questions/59749923/how-to-populate-bsdatepicker-when-date-is-changed-in-texbox