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

fix(tagging): clear tag input when tag is removed #2028

Merged
merged 1 commit into from
Oct 13, 2022

Conversation

halfwhole
Copy link
Collaborator

@halfwhole halfwhole commented Oct 13, 2022

Problem

The decision is to just stick with clearing the tag input when a tag is removed. However, the underlying React state for the tag input is not cleared even when the input looks to be cleared, so we need to clear the state as well.

Closes #2027

Solution

Clear tag input state (and tag suggestions) when the user removes a tag.

@halfwhole halfwhole requested a review from thanhdatle October 13, 2022 02:56
Copy link
Contributor

@gweiying gweiying left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@halfwhole halfwhole merged commit 1046dc4 into develop Oct 13, 2022
@halfwhole halfwhole deleted the fix/tagging/remove-tag-clear-tag-input branch October 13, 2022 06:45
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

Successfully merging this pull request may close these issues.

Link tagging: removing tag while tag input exists clears tag input
2 participants