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

set "format":"date" in form #37

Open
shibiaoz opened this issue Jan 23, 2016 · 1 comment
Open

set "format":"date" in form #37

shibiaoz opened this issue Jan 23, 2016 · 1 comment

Comments

@shibiaoz
Copy link

i set schema and form like that ,but it not effect, get the value "birthday": "5 January, 2016",not format like 'yyyy-mm-dd'

schema 
"birthday": {
                    "title": "date select",
                    "type": "string",
                    "format": "date",
                },

form 
{
                "key": "birthday",
                "minDate": "2014-06-20",
                "format": "yyyy-mm-dd",
                "default": new Date()
            }
@maggieg123
Copy link

I have the same issue. It seems pretty painful to set the default format for some reason. I just want it to be mm/dd/yyyy

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