I know this may seem minor, but it's an issue I'm trying to fix. If you have an autocomplete and select a value, then clear it with .val(''), then select the same value, the change event doesn't fire. This is a problem because I'm using the autocomplete with knockout and the observable doesn't get updated. See this fiddle: http://jsfiddle.net/rniemeyer/Z8yL8/
Select red, click Reset, select red again and you'll see that it doesn't log the change to the console.
Aside from the fact that I'm using knockout, the change event should fire if you select something, then clear the value, then select a value. It only does that when the second value is different from the first, even though the value was empty between them.
Is there any workaround for this issue without waiting for a release?
Regards,
Chris Rock
Select red, click Reset, select red again and you'll see that it doesn't log the change to the console.
Aside from the fact that I'm using knockout, the change event should fire if you select something, then clear the value, then select a value. It only does that when the second value is different from the first, even though the value was empty between them.
Is there any workaround for this issue without waiting for a release?
Regards,
Chris Rock