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

About validation before adding tags #1074

Closed
wabgy opened this issue Jul 22, 2022 · 4 comments
Closed

About validation before adding tags #1074

wabgy opened this issue Jul 22, 2022 · 4 comments

Comments

@wabgy
Copy link

wabgy commented Jul 22, 2022

Hello,
Check the format of the input content before adding tags. If the input format is incorrect, but you want to keep the input content and prevent the input content from becoming a tag, can this be done?

@yairEO
Copy link
Owner

yairEO commented Jul 24, 2022

@yairEO
Copy link
Owner

yairEO commented Jul 25, 2022

Are you using the keepInvalidTags setting?

(Best writing in the original issue instead of opening a new issue for each question)

@yairEO
Copy link
Owner

yairEO commented Jul 25, 2022

I see what you mean - you want to have a custom function which completely blocks the creation of a tag (even an invalid one)

@yairEO yairEO reopened this Jul 25, 2022
@wabgy
Copy link
Author

wabgy commented Jul 26, 2022

Hi, thanks for your reply.
Yes, I was using keepInvalidTags at first, but found this still creates invalid tags.
I hope to have a custom function, when the content entered by the user does not meet the requirements, the user can directly modify the content to make it completely correct, and then generate the label. Instead of knowing that the input content is incorrect, it is necessary to generate a label and then modify it by editing.

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

No branches or pull requests

2 participants