This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
fradrive-old/frontend/src/utils/form/datepicker.md
2019-08-27 19:05:25 +02:00

14 lines
445 B
Markdown

# Datepicker Utility
Provides UI for entering dates and times
## Attribute: (none)
(automatically setup on all relevant input tags)
## Example usage:
(any form that uses inputs of type date, time, or datetime-local)
## Methods
### static unformatAll(form, formData)
Call this function on a form and its formData to get back a new FormData object with "unformatted" date values (i.e. all dates formatted from fancy format to backend format).