"Add" button remains greyed out when pasting a tag name in the "Manage official bug tags" page

Bug #1974161 reported by Pierre Equoy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Steps to reproduce
==================

1. Go to a project's official bug tags management page:

https://bugs.launchpad.net/<project>/+manage-official-tags

2. In the "Add a new official tag:" text field, paste a tag name (e.g. "example-tag") using Ctrl+V

Expected result
==================

The tag is pasted and user can click on "Add" to add it

Actual result
==================

The tag is pasted but the "Add" button remains greyed out

Workaround
==================

As soon as another character is input in the text field (e.g. space button), the "Add" button becomes active.

I suspect the root cause is that there is some JS to toggle the "Add" button state to make sure at least two characters have been entered. When content is pasted, this condition is not triggered and the "Add" button remains inactive.

Jürgen Gmach (jugmac00)
information type: Public → Public Security
Jürgen Gmach (jugmac00)
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
tags: added: bugtag javascript ui
Colin Watson (cjwatson)
information type: Public Security → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.