How can I make dojo textbox dijit to remember previously entered values, like a regular text box (
David
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I found this ticket which has a request to enable the autocomplete feature of the dijit textBox.
http://bugs.dojotoolkit.org/ticket/9562
The creator offers the following workaround, which should work (although, I haven’t tried it):
However, note in the ticket that this is not enabled by default due to some complexities it can cause with the onChange event. Mainly, that when a value is “autocompleted” in some browsers, it sounds like won’t always fire the onChange event properly. The comment is 14 months old, so that may have been fixed in the browser(s) since then, but I don’t know whether it has or not. This workaround may fit your needs regardless.