If I set a date field in a form to use a text field (useTextField = true), it doesn't post the new date when I manually change its value. This works in an editable grid. Changing it via the calendar icon works. Should I synchronize the text field's value somehow?
Announcement
Collapse
No announcement yet.
X
-
I've investigated the problem a bit more and it looks like the problem arises from the saveOnEnter option I have in the form. When I navigate to another field and press Enter, the correct date is saved, but when I press Enter in the date field itself, it posts the old value.Last edited by wallytax; 29 Jul 2010, 02:23.
-
I'm using 7.0.rc2 and have tried a nightly (of 8) earlier this week, not for this particular problem, but just to check it out. I was trying SmartGWT and found out it uses this 8 version as Javascript library.
Is the unpacked (or unconfuscated) source code available? I wanted to look how this calendar item is built. I figure it synchronizes the field's value in a blur event. It works if I tab out of the field and press Enter to submit the form. It also works when I select the date via the calendar icon.
I will try to find an example that I can modify.
Comment
Comment