farmOS / field-kit

A modular, offline-first companion app to farmOS.
https://farmOS.org
GNU General Public License v3.0
60 stars 39 forks source link

Pick a picker #423

Open jgaehring opened 3 years ago

jgaehring commented 3 years ago

We should choose a dedicated date picker library at some point in order to implement the Figma prototype of the TasksEdit component, because I don't think the current FarmDateTimeForm will cut it.

For now I just want to leave a few links to a couple libraries I found during my initial investigation:

https://vcalendar.io/

https://github.com/charliekassel/vuejs-datepicker

These two libraries more or less cover the spectrum in terms of what can be achieved with such a library: the first is a complete solution for any kind of date picker or calendar we might need, while the other is pretty barebones. I really like the first, v-calendar, but I'm a little worried it could be difficult to theme. I like that it's a one-stop-shop, which may save us some work, but on the other hand, I don't want to pull my hair out trying to override its defaults.

Also dumping this list here in case it proves helpful in the future:

https://madewithvuejs.com/blog/best-vue-js-datepickers