Autocomplete Form element

Re: Autocomplete Form element

by Krishna Mohan Prasad -
Number of replies: 0
Yes i am using moodle formslib.
How i am fetching data : 
First when page loads all the department division and subdivision array are passes into auto-complete element.
Second when any department is selected i update the data of lower division and subdivisions using data fetched from webservice via transponse and processResults methods of auto-complete element.

The issue only occurs after form submission. After form submission if i select value then again they can be cleared, but after submission when the page loads no selected data can be cleared.

I did not find any issue in console.