easy_admin:
design:
assets:
js: ['assets/js/jquery.datetimepicker.full.js(Your Date picker Js)', 'assets/js/initDatePicker.js (Your code to initialize date picker on base of class "datepicker")']
css: ['assets/css/jquery.datetimepicker.css(Path of your datepicker css)']
form:
title: 'Your Title'
fields:
- { property: 'displayFrom', label: 'Display From', type_options: {'widget': 'single_text', 'format': 'dd/MM/yyyy H:mm', 'attr': {'class': 'datepicker'}} }
Just replace path of javascript and css and init datepicker, Also replace the field (displayFrom) with your form field.