String Flatpickr
Renders a datetime picker using flatpickr.js.
Activation Conditions
"type": "string""x-flatpickr": { ... }- flatpickr.js must be available (
window.flatpickr) - Plugin: Flatpickr.js on GitHub
Plugin Options
Options can be passed to the plugin via "x-flatpickr" keyword
Example
{
"title": "Flatpickr",
"type": "string",
"description": "Flatpickr is a lightweight and powerful datetime picker.",
"default": "2024-08-27",
"minLength": 3,
"x-format": "flatpickr",
"x-flatpickr": {}
}