The way I do it in my date/time textbox (which is more like Jens'
suggestion, one textbox for date and time) it to just allow the user to
type any numeric values in there and I evaluate every keydown and examine
the context which the number is being entered. ie. does entering a 3 after
the 9
Hi everyone,
I just published the first version of GWT-Eureka. This is a new library for
GWT widgets that are not big enough to fit anywhere else.
Right now you can find the next components:
* TimePicker: As the name says, a time picker, where you can type hours and
minutes
* iOSButton: A
First, the widgets look fantastic. Great job there.
My issue would be w/ keying time into the time pickers. It's a little
wonky, in that, you can't click into the textfield and just key 17:45.
You have to make sure to click the cursor after the hour, then type 17 and
the click the mouse
Thanks for your comments.
The problem typing the hours/minutes has been hunting me for sometime, but
I simply cannot find a better way to do it. An alternative would be to
allow to type anything and then fix it when the widget loses focus, but I'm
not really happy about it either. Any behavior
Looks nice, but:
1.) when I click into any of both text boxes you should preselect all its
contents (like its done when focusing the textbox using TAB) so I can start
typing a new hour / minute. I don't want to select it myself using the
mouse or hit backspace 2 times before I can change hour