u12206050 / directus-9-date-picker-interface

An alternative Date Picker Interface to the original Directus DateTime interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Date Picker Interface - for Directus 9

Based on the awesome Flatpickr library.

Configuration

Supports min and max field dates so you can have a from and to setup.

Install

  • 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'

Develop

All files in src/DevComps are purely for development purposes, and are not included in the final build

  • npm install
  • npm start

Deploy

  • npm run build
  • cp dist PATH_TO_DIRECTUS_PROJECT/extensions/interfaces/date-picker

Todo

About

An alternative Date Picker Interface to the original Directus DateTime interface

License:MIT License


Languages

Language:CSS 63.0%Language:Vue 23.9%Language:JavaScript 12.0%Language:HTML 1.2%