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 field doesn't processing default value #43

Open
artyomLisovskij opened this issue Jun 28, 2018 · 0 comments
Open

Date field doesn't processing default value #43

artyomLisovskij opened this issue Jun 28, 2018 · 0 comments

Comments

@artyomLisovskij
Copy link

If I add something like this:
$default_value = date('Y-m-d'); <input id="id" name="dateee" type="date" value="'.$default_value.'">
and will be trying to render form with today date I'll get 1-1-1898 selects. That's wrong. I'm unable to set date without using setValue function(but another fields set well).

May be we need some option to get HTML5 fields(date/datetime/..) like text?

@artyomLisovskij artyomLisovskij changed the title Date field don't processing default value Date field doesn't processing default value Jun 28, 2018
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

1 participant