TheCoder4eu / BootsFaces-OSP

BootsFaces - Open Source Project
Apache License 2.0
247 stars 102 forks source link

b:dateTimePicker resets date to current upon pressing "t" #1188

Closed vsvetoslavov closed 1 week ago

vsvetoslavov commented 2 years ago

Hi In our app we use "dd MMM yyyy" date format (and whatever it's analog in moment.js was). All works good, except if you need October. Upon pressing the "t" key the date is reset to current date. It seems to be a bug in the javascript component used, as it has the same behavior in its showcase as well. Doesn't seem related to specific format, as it is reproducible both in BootsFaces showcase and in bootstrap datepicker ones. Is there any option to remove this behavior? It seems really nagging, and if you need October you're kinda... in trouble. I have to check if pasting triggers that as well, but key press definitely triggers it. I am not aware if the bootstrap-datepicker project has been abandoned, the site refers to a blog post but the link doesn't work (for me at least). I was unable to access issue tracking on bootstrap-datepicker so any help would be appreciated.

vsvetoslavov commented 2 years ago

Update: Going through the code of bootstrap-datepicker (beautified minified version) I found the following: t: function () { this.date(this.getMoment()) }, It seems like intended functionality, but it would really be nice if it could be disabled.

stephanrauh commented 1 week ago

I'm afraid development of BootsFaces has slowed down considerably. We'll never manage to address this issue. Let's close it.