Download & Extend

Autocomplete works on first item only

Project:editablefields
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Using the latest versions of this and Ajaxload, only the 1st autocomplete field is working, and even then the JavaScript doesn't clear the field onclick like it normally does.

The field is a node reference, and there are too many possible values to use a dropdown. Click to edit loads the referenced node itself.

This seems to be a similar issue to the date picker one floating around. Is there a CVS only dev version that might fix this?

Thanks for the amazing module.

Comments

#1

I am also observing this bug

#2

Are you using the 6.1x Dev version?

#3

Yes, I am using 6.x-1.x-dev, but I have since discovered that the bug I am observing will sometimes affect all field widget types, not just autocomplete.

Steps to reproduce:

  1. Create a view with some click-to-edit fields, including an autocomplete nodereference field
  2. click-to-edit any nodereference field in the view, but do not enter a value (as if you opened the field accidentally and did not intend to. There is no way to close this field unless you enter a value (or is there?)
  3. Now try to edit any other field in the view, no matter what widget they use

You will see (in FF5 or Chrome) that the first field you open stays open unless you enter a value. Worse, if you try to enter a value in any other field, it will not work and the cursor will shoot back to the first opened field.

#4

I now see that this is a symptom of Edit mode isn't left after focus left (blur).