-
Bug
-
Resolution: Deferred
-
Minor
-
None
-
2.2.1
-
None
-
MOODLE_22_STABLE
-
If you create an autocomplete form field element and try to use it, the javascript error "autocomplete is not a function" occurs on keypress in the text box. The function clearly exists in the html source for the page though.
This specific form field hasn't changed between Moodle 1.9 and Moodle 2.0, but the autocomplete feature did work in Moodle 1.9, so I'm not sure why its broken now. Oddly, if you change the function name to "autocompl" it works perfectly. That made me think there must be some other autocomplete() javascript function somewhere causing a conflict, but I searched the codebase and can't find one!
We've seen this in a range of browsers including IE8, FF10 and chrome.
- has been marked as being related by
-
MDL-51247 Revive / Refresh / Rebuild the autocomplete mform element.
- Closed