Strapi Custom Field for Date Range
How to use?
install npm package
npm i strapi-date-range-picker-plugin
then add this inside plugins.js (create file plugins.js if not existing inside config folder)
config/plugins.js
module.exports = {
// ...
'strapi-date-range-picker-plugin': {
enabled: true
},
// ...
}
npm run build --clean
It's ready.
This date-range-picker plugin allows you to select a data range in one CustomField instead of adding two seperate field.
Watch the video: