Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions demos/autocomplete/multiple.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
// add placeholder to get the comma-and-space at the end
terms.push( "" );
this.value = terms.join( ", " );
// scroll input viewport to as far right as possible
this.selectionStart = this.selectionEnd = this.value.length;
return false;
}
});
Expand Down