monim67 / django-bootstrap-datepicker-plus

Bootstrap3/Bootstrap4/Bootstrap5 DatePickerInput, TimePickerInput, DateTimePickerInput, MonthPickerInput, YearPickerInput with date-range-picker functionality for django >= 2.0
https://pypi.python.org/pypi/django-bootstrap-datepicker-plus
MIT License
223 stars 61 forks source link

There's no way to specify the 'icons' options #88

Closed juan-fdz-hawa closed 1 year ago

juan-fdz-hawa commented 1 year ago

Describe the bug When specifying the 'icons' options (see here) an error is raised because the WidgetOptions type does not allow for nested dictionaries (see here) whereas the bootstrap-datetimepicker v4 'icons' option is specified using an object.

Expected behavior I should be able to specify the 'icons' option.

Setup Information (please complete the following information): Using django-bootstrap-datepicker-plus==5.0.2

[x] I have followed the configuration instructions and checked out the common error troubleshooting page.