Giter VIP home page Giter VIP logo

gwt-traction's People

Contributors

andykellr avatar enginer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gwt-traction's Issues

Implement / fix support for firing ValueChangeEvents for null values

At least when using the HTML4 version of the UTCDateBoxImpl -- UTCDateBoxImplHtml4 -- events are not fired for null date/time values. This case can arise when the value is empty or otherwise not a valid date value (as entered by the user).

It is possible to access the HTML4 DateBox field implementation and ask for null value events via DateBox's setFireNullValues, passing true; but this causes an error later, because the adapter event listener code in UTCDateBoxImplHtml4 does not gracefully handle the null value returned in that case by UTCDateBox.date2utc.

I don't know for sure whether the handling in UTCDateBoxImplHtml5 is better, but a quick inspection reveals that it may be: it doesn't appear to require any special handling to trigger ValueChangeEvents for null values, and if a null value were provided, it looks like it would be handled correctly.

DOM Exception in IE9 using GroupedListBox.clear()

When clear() is called, DOM Exception: NOT_FOUND_ERR (8) can occur. This is because the DOM needs to be used to delete the optgroup and option tags. The normal ListBox.clear() won't work.

This doesn't really cause any problems unless "Display a notification about every script error" is checked.

Timezone issue in Chrome 67

Throughout the codes, timezone offsets are calculated base on new Date(0), which might be different than timezone offset for new Date().

This cause 30 minutes difference in MYT for example, which have +730 in 1970, and +800 in 2018.

https://en.wikipedia.org/wiki/Time_in_Malaysia

It should be standardized to use timezone calculated from new Date().

UTCDateTimeRangeController should fire some sort of ValueChangedEvent when adjusting the range

When the user modifies the start date/time, this controller class translates the end date/time accordingly; and likewise, if the user modifies the end date/time so that the start date/time is no longer value, it modifies the start date/time to fix that. But no events are fired when this happens because the UTCDateBox and UTCTimeBox controls' setValue methods are invoked with false as the argument for their fireEvents parameters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.