fixes #480 - dates are always passed to "date" and "datetime-local" e… #557
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…lements using the standard format (YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss), and "datetime" elements are converted into "datetime-local" (datetime is deprecated/obsolete).
Fixes Not including 'format' option in schema for an 'inputType: date' fails v2.2.2 #480 - dates are always passed to the HTML5 "date" or "datetime-local" element in the correct format. "datetime" is also converted into "datetime-local" as "datetime" is now deprecated/obsolete
When a "format" is not provided, the date/datetime field would be sent a number and throw an exception formatting the value
values are always passed to date/datetime-local field in the correct "YYYY-MM-DDTHH:mm:ss" format as described in the docs
It should not
Refer to Not including 'format' option in schema for an 'inputType: date' fails v2.2.2 #480