A datetime plugin for Mithril-ui-form
Mithril-ui-form is a declarative framwork to create forms using the front-end Mithril framework and mithril-materialized components using the materialize-css design theme.
A simple datetime control, i.e. a date and time combination
Include datetime control
import { datetimePlugin } from "mithril-ui-form-datetime-plugin";
...
registerPlugin("datetime", datetimePlugin);
Optional CSS style
Please include the following CSS style to make it look good.
{
"id": "myTimeOfBirth",
"type": "datetime",
"label": "Time of birth?"
},