i-like-robots / react-tag-autocomplete

⚛️ A simple, accessible, tagging component ready to drop into your React projects (new repo)
https://i-like-robots.github.io/react-tag-autocomplete/
ISC License
178 stars 12 forks source link

onAddition/onDelete handler return value? #2

Closed jtojnar closed 2 years ago

jtojnar commented 2 years ago

One difference I noticed compared to the old version is that the example has return true in the onAddition/onDelete handlers but it does not seem to be mentioned in the individual props’ docs. What is the purpose of the return value?

i-like-robots commented 2 years ago

I have now removed these, there were an idea I was playing with to replace the onValidate() callback used in v6.