brutusin / brutusin/json-forms

Set initial date and don't use the src from release by the moment.

Open
#113 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
618
Forks
171
PR merge metrics
No merged PRs in 30d

Description

Hi everyone!

How do i set a initial date in a string with date format?

I have tried this in the demo, but no luck, even when setting a proper date for input type date (YYYY-MM-DD) in the initial data like this:

`{
date: "2018-1-13"
}`

Also not working with:

`{
date: "2018-01-13T00:00:00"
}`

With time, it works like this:

`
{
time: "14:00"
}
`

and schema (minimalist example):

`{
"$schema": "http://json-schema.org/draft-03/schema#",
"type": "object",
"properties": {
"time":
{
"type": "string",
"format": "time"
}
}
}`

If there is no support, I can work on it.

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.