Skip to main content

Bug Tracker

Side navigation

#7655 closed bug (invalid)

Opened November 29, 2010 08:23PM UTC

Closed November 29, 2010 08:37PM UTC

.link() does not work with autocomplete

Reported by: twenzel Owned by:
Priority: undecided Milestone: 1.6
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

I've a textbox bound to a member via .link().

When I select a proposed item from the dropdown, the value is not delegated to the object.

// link persons
		for(var i =0;i<data.members.length;i++)
		{
			var member = data.members[i];
			
			var firstnameEdit = $("#firstname"+member.id);
			var lastnameEdit = $("#lastname"+member.id);
			var birthyearEdit = $("#birthyear"+member.id);						
			
// use firstnameEdit.link cause jQuery.link does not work
			firstnameEdit.link(member, {
				firstname:  "firstname"+member.id,
				lastname:  "lastname"+member.id,
				birthyear:  "birthyear"+member.id,
				});
				
			// autocomplete für die personen
			firstnameEdit.autocomplete({
				source: "/de/Index/Events/autocompletefirstname",
				minLength: 2,				
			});	
			
			lastnameEdit.autocomplete({
				source: "/de/Index/Events/autocompletelastname",
				minLength: 2,				
			});		
		}	
Attachments (0)
Change History (1)

Changed November 29, 2010 08:37PM UTC by snover comment:1

resolution: → invalid
status: newclosed

This is not the jQuery UI bug tracker. Please read the big red box on the ticket reporting page for information on where to go.