django-autocomplete-light icon indicating copy to clipboard operation
django-autocomplete-light copied to clipboard

Focus on single input not working on formtools wizard

Open davy39 opened this issue 3 years ago • 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.

davy39 avatar Feb 14 '22 14:02 davy39

This looks like it might be a duplicate of #1283

bpepple avatar Feb 19 '22 18:02 bpepple