what3words / jquery-plugin-w3w-autosuggest

[DEPRECATED] A jQuery plugin that applies what3words AutoSuggest on an input field, including default styling, based on user input and other parameters. Please use https://developer.what3words.com/public-api/autosuggest-component
Other
2 stars 2 forks source link

Removes the "valid" class after text is cleared #3

Closed quantafire closed 6 years ago

quantafire commented 6 years ago

Adds a line to remove the class "valid" of the 3 word address field when you click the cancel button. It does not disappear until you add more text after the text has been cleared - therefore validation is not trustworthy after using the cancel button.

tsamaya commented 6 years ago

Great, please do not forget to :