Implement a DateTimePicker widget#48
Conversation
ca76233 to
ff481d4
Compare
| Base.get(dtp::DateTimePicker) = dtp.default | ||
| Bonds.initial_value(dtp::DateTimePicker) = dtp.default | ||
| function Bonds.transform_value(dtp::DateTimePicker, val) | ||
| something(tryparse(DateTime, val, dateformat"YYYY-mm-ddTHH:MM"), DateTime(1970,1,1)) |
There was a problem hiding this comment.
Did you found instances where tryparse fails and have an idea of why?
I think in general the default fallback deserves a mentions in the docstring
|
Nice, I think apart from the review comment about adding mention to the fallback, it would be good to add this in a easy example to the Since last version, we have a new orphan branch that is just used to store all assets (images, videos, html) so that it's easier to link to stuff in the docstring and documentation pages. The new orphaned branch is https://github.com/disberd/PlutoExtras.jl/tree/assets |
This PR adds a new widget supporting the native datetime-local input field in browsers.