Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date and DateTime HTML inputs do not appear or behave consistently across browsers #1501

Open
TW80000 opened this issue Aug 22, 2018 · 1 comment
Labels

Comments

@TW80000
Copy link

TW80000 commented Aug 22, 2018

FOAM currently supports the following temporal types: Date and DateTime. Support for the HTML inputs for Dates and DateTimes is spotty across browsers. Each browser and platform provides its own implementation of a date/datetime picker, if they provide one at all. Each built-in solution looks and behaves differently. Safari doesn't have native support for such inputs at all, so the user would have to manually type in something like 2018-08-22T08:41 for a DateTime, which makes for a poor user experience compared to a GUI solution.

@TW80000 TW80000 added the bug label Aug 22, 2018
@kgrgreer
Copy link
Collaborator

kgrgreer commented Aug 23, 2018

Look at FOAM1 support and consider porting:

09:35:17 kgr:~/foam1$ find ./ -name "Date*" -print
.//foam/js/foam/u2/DateView.js
.//foam/js/foam/u2/md/DateField.js
.//foam/js/foam/u2/md/DatePicker.js
.//foam/js/foam/u2/md/DateTimeField.js
.//foam/js/foam/u2/search/DateFieldSearchView.js
.//foam/js/foam/ui/DateFieldView.js
.//foam/js/foam/ui/DateTimeFieldView.js
.//foam/js/foam/ui/md/DateFieldView.js
.//foam/js/foam/ui/md/DatePickerView.js
.//foam/js/foam/ui/md/DateTimeFieldView.js
.//foam/js/foam/ui/search/DateSearchView.js
.//foam/resources/svg/DateProperty.svg
.//foam/resources/svg/DateTimeProperty.svg

09:35:23 kgr:~/foam1$ find ./ -name "Calendar*" -print
.//foam/js/foam/u2/md/Calendar.js
.//foam/js/foam/ui/md/CalendarView.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants