Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete tag #2

Open
EliaTolin opened this issue May 10, 2023 · 1 comment
Open

Delete tag #2

EliaTolin opened this issue May 10, 2023 · 1 comment

Comments

@EliaTolin
Copy link

Is possible add the function "onDelete"?
Otherwise change Icon to IconButton.

@raLaaaa
Copy link
Owner

raLaaaa commented May 10, 2023

Hey, I'm not quite sure if I understand this correctly.

Do you need a general onDelete hook when a tag is removed from the underlying tag list?
Right now there is only a onTagPress hook which fires if you press the icon no matter whether you clock the icon on the element or not.

If I understand you correctly you need two functionalites for each element:

  • if you click the element
  • if you click on the tagIcon of the element

is that correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants