Closed jakubpawlowicz closed 3 years ago
@drewwilson has had good reason to ignore the other PRs, but this works and shouldn't be ignored.
Hi. What impact have theses changes? What is the benefit? I'm looking for any interesting stuff we could integrate in our new version at https://github.com/hlsolutions/jquery-autosuggest/.
Hi @knalli,
There are two benefits:
1) By using classes instead of IDs one can have more than one autosuggest on a page while not violating ID uniqueness.
2) By using improved close
method one can has commas inside selected values, e.g. "Paris, France", "London, United Kingdom" and not worry about these being accidentally removed.
Impact of #1 is quite heavy as it could tear apart 3rd party code depending on IDs. #2 seems to be pretty safe.
Oh, I thought this would be something new. It seems that these both things are already part of the other forks. Perhaps you give us a try?
Unfortunately I no longer work on a project this patch originated from so I can't give the new version a try. Feel free to close this pull request if you believe both bugs are covered in the new version.
Well, this isn't my project. I'd made a fork of a fork of this (well...) because of some issues including the one you already mentioned.
As I said, I'm only looking for interesting features which weren't integrated already.
I see. Feel free to include what you need or like!
It's been so long for this PR so let's close it.