twisty / formsy-react-components

Bootstrap components for a formsy-react form.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autocomplete dropdown values getting reset in IE11

sean-ww opened this issue · comments

Using the autocomplete dropdown to select a value doesn't work in IE11. Only if I type in the input box, or go directly to submit, will the value be recognised. Otherwise, changing another element after using the autocomplete dropdown will cause the input to reset to its previous value.

autocompleteissue2

Hi, looks like either onchange or onblur (or both!) aren't firing as a result of the autocomplete.

There are various reasons this might be happening, this page may help?

It seems it doesn't fire the propertychange event that react listens to in React 15. This is based on facebook/react#6614

I notice this was recently marked fixed in facebook/react#6614 (comment).

Haven't had chance to check this yet, does this solve the issue for you?

Yes, I updated to the latest version (v15.6.1) and it works just fine 👍