react-tags
react-tags copied to clipboard
#259 - full tag to onAddition
#259 modify onAddition to pass full tag to allow use of additional tag props in custom tagComponent
Coverage remained the same at 100.0% when pulling 24a653a1c2c3808a273c7873337765463b50175e on zia-ai:main into 9ac82a9879f53d46759dbd559d8b0a99bcd376ae on i-like-robots:main.
This will be the default behaviour in the next major version (which is in development here).
However, I'm reluctant to make this change to the current version of the component because a change to the public interface should require releasing as a new major version.
Was this a breaking change not passing full tag? handleAdd supported this no? Quelle surprise
Maybe until the new version is released, we could add an additional onAdditionFull event that would pass the full tag without a BC break?
Closing as this feature is now supported in v7.