Cannot type "/" in some fields used to create a new tag
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.
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 |
We should only enable hotkeys when we're not focusing on a field