yourlabs/django-autocomplete-light

Focus on single input not working on formtools wizard

davy39 opened this issue · 1 comments

Hello,
I'm very happy with DAL, but I'm facing a small issue now :

I'm working on a multi-steps wizard form based on django-formtools.

When a autocomplete.ModelSelect2 widget is not on the first step of the wizard, it cannot automatically focus on select2-search--dropdown / select2-search__field after clicking on a select2-selection--single input.

Maybe focus selection method is based on reloading html which get only the first step (not sending POST {"wizard_goto_step": '2'} for example) ?

Does anyone know any workaround ?

Thanks for your help.

This looks like it might be a duplicate of #1283