You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
artyomLisovskij
changed the title
Date field don't processing default value
Date field doesn't processing default value
Jun 28, 2018
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?
The text was updated successfully, but these errors were encountered: