Is there any way get corresponding tag for closing button. Currently we can add only generic value for all.
Hey @pandey11 thanks for opening an issue! We do ask when opening an issue that you please provide a CodePen sample of the issue you're facing so we can better understand or if you have a question that you direct it to StackOverflow. Thanks!
@Naninani Hope this help in clarifying the issue.
<TagPicker
removeButtonAriaLabel= "This property is expecting a string. There is no way to dynamically assign corresponding tag text"
/>
Expect Behavior: There should be way to assign call back function which has access to corresponding tag
@pandey11 you can actually do this already! Check out this codepen. You can pass in a custom renderer that takes in all the props and returns a custom label for each item!
@pandey11 Line 46 in the codepen is the bit that does the work of adding a dynamic label.
@joschect cool thanks
Most helpful comment
@pandey11 you can actually do this already! Check out this codepen. You can pass in a custom renderer that takes in all the props and returns a custom label for each item!