Let me give you some more context.
I have a django form with some AutoCompleteSelectField. Some of them are chained with the "prepareQuery" technique.
After form validation i save in the django model a string coming from the lookup item, not a model instance.
When i select a particular value on a master AutoCompleteSelectField i need to disable autocompletion on the dependant field and enabling free text input.
I don't need to create new lookup values, i just need that field behave like a normal CharField.
Now, if i call djselectable.option("option", "allowNew", true) i can input freely the text i want, but the hidden field is not synced with the text input, causing a missing required field validation error on the server side.
Could you suggest me a "right" approach?