~sircmpwn/sr.ht#267: 
Project creation tag input breaks

The tag input field of the project creation page breaks, when the user enters multiple tags without separating them with commas.

Example input: "foo bar baz"

Output: "f, o, o, , b, a, r, , b, a, z"

And the following message appears: "Tags must start with alphanumerics or underscores and may additionally include dots and dashes"

Status
REPORTED
Submitter
~garritfra
Assigned to
No-one
Submitted
7 months ago
Updated
7 months ago
Labels
No labels applied.

~garritfra 7 months ago

Is this already known? If not so, I'd like to work on this. I don't know the project structure very well, so any hints on where this might occur are appreciated.

~garritfra 7 months ago*

THIS COMMENT WAS A DUPLICATE

(Can't remove it. Not yet implemented?)

~sircmpwn 7 months ago

It's supposed to be a comma separated list, not a space separated list.

I'd like to make it more flexible, though. It should support splitting on commas or spaces, prefer spaces, and should strip the # out of the name if the user adds it by mistake.

~garritfra 7 months ago

Thanks for your feedback. I'll start working on this.

Register here or Log in to comment, or comment via email.