how to autocomplete wwith current year if not typed
63 views
Skip to first unread message
Stéphane Mégy
unread,
Aug 21, 2019, 3:36:23 AM8/21/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bootstrap-datepicker
I'm using a format dd/mm/yyyy. I want to "autocomplete" with the current year if the user type only dd/mm. For example if the user type 30/05 and blur the field (with tab or click), the real date is 30/05/2019.
BTW I know the top "assumeNearbyYear" that transforms 30/12/19 in 30/12/2019 but it'es not exactly what I need