Based on the awesome Flatpickr library.
Supports min and max field dates so you can have a from
and to
setup.
- Install package:
npm install directus-date-picker-interface -S
- Create folder:
mkdir extensions/interfaces/date-picker
- Create file:
echo "export * as default from 'directus-date-picker-interface'" >> extensions/interfaces/date-picker/index.js
// extensions/interfaces/date-picker/index.js
export * as default from 'directus-date-picker-interface'
All files in src/DevComps
are purely for development purposes,
and are not included in the final build
npm install
npm start
npm run build
cp dist PATH_TO_DIRECTUS_PROJECT/extensions/interfaces/date-picker
- Implement Localizations