mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-18 02:00:58 +00:00
bug4210 Added TODO for improvements of event handling for native inputs
This commit is contained in:
1 parent
fdc33cdb73
commit
751d71556f
1 file changed
+1
+1
@@ -44,6 +44,7 @@ class NativeDateTimeInput extends Widget implements DateTimeInput {
|
||||
|
||||
@Override
|
||||
public final void onBrowserEvent(Event event) {
|
||||
// TODO: Cache latest value to avoid multiple ValueChangeEvents
|
||||
final int type = event.getTypeInt();
|
||||
if (type == Event.ONCHANGE || type == Event.ONBLUR || type == Event.ONKEYUP) {
|
||||
ValueChangeEvent.fire(this, getValue());
|
||||
|
||||
Reference in new issue
Block a user