Home ›
Possible to accidentally replace entered text with undefined from Drupal's autocompletePossible to accidentally replace entered text with undefined from Drupal's autocomplete
Submitted by Benjamin Melançon on October 21, 2007 - 11:05am
Searched words:
drupal autocomplete undefined
Anyone else notice that on free tagging vocabularies, when no result comes up but you press the down arrow anyway, your text can be replaced wih 'undefined'?
Update: I think this piece in misc/autocomplete.js is working fine:
// If no value in the textfield, do not show the popup.
if (!this.input.value.length) {
return false;
}
The creation of the pop-up is probably earlier than it has to be, maybe it can be called earlier.
Resolution
More like this
- What's updating Drupal's cache all the time on this crazy i18n, og, custom site?
- How to break Drupal's system_settings_form submit handling without trying
- Drupal's Installation Profile repository should allow include files
- Form altering certain CCK widget properties is tricky: adding and changing the size of an autocomplete textfield
- Unknown column 'price_interval' on fresh install of Drupal e-commerce


Comments
Contributed to this bug
Contributed to this bug report on the issue of Drupal's taxonomy free tagging autocomplete returning undefined: http://drupal.org/node/172755
Post new comment