Open django-rdf-tools opened 13 years ago
The way in which we do it is we re-render the template where the autosuggest input field is defined and then re-initialize it. I haven't really investigated if there is a reset function since this workflow fitted in our application structure.
I use the input in an ajax submit, so I'd like to clean the widget correctly after submit. the generated HTML is quite complex, do you have advice on which container I should empty or destroy ?