Opened 5 years ago

Closed 5 years ago

#10073 closed bug (invalid)

clear `previous` and `term` after changing source

Reported by: safareli Owned by: safareli
Priority: minor Milestone: none
Component: ui.autocomplete Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:

Description

previous and term should be cleared after changing source data. reason: user enters 'a' in input and autocomplete displays pop up; inputs data source is changed; inputs value is cleared by $element.val(); user enters 'a' again and autocomplete doesn't displays pop up because term is not cleared;

Change History (4)

comment:1 Changed 5 years ago by tj.vantoll

Owner: set to safareli
Status: newpending

Hi safareli,

Thanks for taking the time to contribute to jQuery UI. Can you please provide a test case that shows this in action. I'm unable to recreate the problem that you're describing in my own testing. You can use this as a starting point: http://jsfiddle.net/tj_vantoll/hmarM/.

comment:3 Changed 5 years ago by Scott González

Status: newpending

We'll still need the reduced test case showing the problem.

comment:4 Changed 5 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.