It would be nice if autocomplete would just search within the currently selected tab.

Yes, I know it's not easy - drupal autocomplete can't make use of anything except a simple URL, and it doesn't even notice if you fiddle with that URL via dom manipulation :) I guess you'd have to duplicate autocomplete.js and change it to not cache the target URL, then fiddle this URL with it during tab-switch, and add an extra arg to the autocomplete function

module/autocomplete/[tabname]/[letters]

Comments

greenskin’s picture

I do like the idea, though I agree it doesn't look to be easy. I'm wondering if it might simply be better to make a custom autocomplete which doesn't make a separate URL call but looks through the visible rows.

greenskin’s picture

Status: Active » Closed (won't fix)

We (realityloop and myself) felt the autocomplete functionality was redundant to what the filter input does so it has been removed.