Closed codematsing closed 8 months ago
Please use version 1.3.4
Does this date-time-picker work for you?
Read the contribution guidelines before issuing a bug report.
My bad, stopped trying to debug this since I found the workaround to use DateInput over DatePicker instead.
I did however replicated it using the instructions in your documentation.
The issue seems to arise when we use DatePicker on FormCollections
# forms/birthdate.py
class BirthdateFormCollection(FormCollection):
birth_date_forms = BirthdatePickerForm()
min_siblings=2
# testapp/views.py
path('birthdate.picker.formcollection', DemoFormCollectionView.as_view(
collection_class=BirthdateFormCollection,
), name='birthdate.picker.formcollection'),
test on: http://localhost:8000/bootstrap/birthdate.picker.formcollection
Uncaught Error: Unknown aria-label on [object HTMLDivElement]
at w.getViewMode (chunk-AFISV5BP.js:5:2862)
at w.registerCalendar (chunk-AFISV5BP.js:5:4119)
at MutationObserver.observe.childList (chunk-AFISV5BP.js:5:1906)
That's indeed a weird modal dialog. Can you please share the complete code to reproduce it. Just point me on your GitHub repository branch.
version: 1.1.1
What happens: