Cannot type "/" in some fields used to create a new tag

Bug #2072977 reported by Javier Fuentes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned
maas-ui
Triaged
Medium
Unassigned

Bug Description

Every time that I type the "/" character in some of the fields needed to create a new (automatic) tag using MAAS UI, the editing cursor jumps to the text box on top of the panel.

Steps to reproduce the reported issue:
- Open MAAS UI and navigate to the "Tags" panel (under the "Organisation" section).
- Click on the "Create new tag" button.
- On the side panel that appears, type / on either the"Kernel options" or "Definition (automatic tag)" fields.
- The cursor jumps to the "Tags" text box on the top of the panel.

Note that the automatic tagg is based on the usage of xpath expressions that are matched against the output of "lshw -xml" that MAAS runs when a new machine is deployed through the "maas-lshw" script. "/" character is needed for using xpath expressions.

As a workaround I can write the text in an editor and copy-pasted in that field.

Tags: ui
Revision history for this message
Javier Fuentes (javier-fs) wrote :
Changed in maas-ui:
status: New → Triaged
milestone: none → 3.6.x
Changed in maas:
importance: Undecided → Medium
Changed in maas-ui:
importance: Undecided → Medium
Revision history for this message
Thorsten Merten (thorsten-merten) wrote :

We should only enable hotkeys when we're not focusing on a field

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.