Title: Datebox manual entry assumes Year 0000 Post by: phunksta on July 23, 2015, 08:00:09 AM Hi,
I have had an 'annoyance' logged by my users, in that when they start typing into the input field of a datebox in UK format, e.g. 23/07, the datebox starts to set the value according to what they type. Unfortunately the year 'jumps' to 0000 and if they hit enter at this point then this is what is submitted - in this case as a filter. Is it possible to assume current year when the year result is 0? Title: Re: Datebox manual entry assumes Year 0000 Post by: jarry on July 23, 2015, 08:15:58 AM Make sure you are using the correct 'formatter' and 'parser' functions. Please refer to http://www.jeasyui.com/demo/main/index.php?plugin=DateBox&theme=default&dir=ltr&pitem=Date%20Format
|