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

Making input type="date" on toggling Edit Mode of Data type = Date #440

Open
l-1 opened this issue Apr 6, 2016 · 2 comments
Open

Making input type="date" on toggling Edit Mode of Data type = Date #440

l-1 opened this issue Apr 6, 2016 · 2 comments

Comments

@l-1
Copy link
Contributor

l-1 commented Apr 6, 2016

On toggling Edit Mode on a field which has "Data type = Date" Structr-app.js transforms it into an .
It would be nice to have an input in edit mode with a type="date" in that case. Or a possibility to enter custom type.

Also, datepicker apperas only once on first focusing and after blur it doesn't appear again.

@amorgner
Copy link
Member

@l-1 Could you please try to reproduce the problem with the current (2.0.1) release?

@l-1
Copy link
Contributor Author

l-1 commented May 31, 2016

I've reproduced the problem with a disappearing datepicker after blur on a 2.0.2-SNAPSHOT build fd1d6 (201605181524), if it's okay to use a snapshot.

Anyway, for the time-being I've decided to use date input field as text since date format in a class is dd.MM.yyyy which makes it impossible to add/edit with only a datepicker, so it requires hidden inputs and javascript which transforms dates.

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

No branches or pull requests

2 participants