Skip to content

Date field doesn't processing default value #43

@artyomLisovskij

Description

@artyomLisovskij

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions