PDA

View Full Version : [SITE] Bug: pasting a tag list from clipboard when submitting doesn't validate tags



Furx
04-08-2015, 07:11 AM
When submitting a work if you paste a list of tags then the tags don't get detected as valid tags and trying to submit the work will result in error telling you to add at least two tags even though the box is full of plain text. To get the tags to detect and convert into "boxed tag items" you have to edit the list somehow (such as pressing space).

Repro:

1. Make new submission
2. Copy list of tags from a text file/FA/somewhere
3. Paste the list of tags into the tag box
4. Observe that tags are not auto-detected.
5. Hit Continue.

Workaround:

At step 4: Hit space with focus still in the tab textbox. Observe that all the tags are validated.

Socks the Fox
04-08-2015, 11:59 AM
For the developers, an easy fix might be to use JS to intercept the paste event, and create all the separate tags there.

Alternatively, process the tags on loss of the input's focus.