EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 03, 2024, 08:37:25 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Datebox manual entry assumes Year 0000
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datebox manual entry assumes Year 0000 (Read 8957 times)
phunksta
Jr. Member
Posts: 54
Datebox manual entry assumes Year 0000
«
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?
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: Datebox manual entry assumes Year 0000
«
Reply #1 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
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...