Unanswered: How to allow browser to "remember" textfield values?
Unanswered: How to allow browser to "remember" textfield values?
Most browsers have a convience feature that "remembers" the last value(s) entered into a textfield. I've noticed that the Extjs 4 xtype: 'textfield' field I've been using do not trigger this browser feature. How can I enable/disable this browser convenience, especially for FF and Chrome, programatically?
No, perhaps I wasn't clear. I'm not concerned with "auto-suggest" type behavior like the example you showed. I'm talking about the browser's ability to store and later recall what the user types into <input type='text'...> fields.
For example, go to craigslist.org and type "developer" into the search box. Later, whether after a simple back navigation or after weeks, when you revisit that box and start typing "d", the browser, NOT the site, will suggest "developer" from your form history.
With Ext JS 4 xtype:"textfield" fields, this does not happen. Why?
Scott, thank you for your quick replies. You are, however, missing the point of my query. I, the ExtJS dev, do not want my SCRIPTS TO DO ANYTHING to recall values. My observation is that something in the way Ext wraps or styles <input....> fields is interfering with the way that the browser interacts with plain HTML <input name="foo" /> fields. I am trying to determine how to change a parameter on the xtype: "textfield" object OR on the various .sass settings related to textfields and forms so that the basic HTML browser behavior of storing a history of field entries will continue to occur.
In short, I want to know how to STOP extjs from changing the basic html form <-> browser interaction.
Since these are custom controls, you will have to provide this feature yourself. If there is a way to override this and provide the action you are looking for, as a default browser behavior, I am not aware of how to do this.