django-autocomplete-light
django-autocomplete-light copied to clipboard
How to manual start/stop autocomplete-light from javascript after page load
Hello. Select2 (or autocomplete-light) does not initialize if the field is disabled="disabled".
I enable and disable some fields dynamically via Angular 1.x
I'd like to be able to manually start/stop these fields. autocomplete-light has any Javascript way I can call a function to start/stop autocomplete-light in a specific field after page load?
Not that I know of.
You can try to call
$("<your selector>").trigger("change");