Jörn, >I see three ways to handle this: >- Let the user enter whatever he wants, using the autocomplete only as a >helper. >- Remove anything that was already entered from the proposed elements >- Disallow/remove a selected value if it was already entered > >What would be the better solution?
I actually sent you a note offlist about this the other day. I would think the best method would be to provide another event hook that when looking to see if the current row should be added as a <li /> element. If the event hook exists, and returns false, you don't add it to the output. If true or null, you add it. That way the developer can code his logic to see if he wants the item to be displayed or not. -Dan