Fixes input validation in angular kepyairs.
Modifies the regexp used by the angular form validation to match the allowed characters in Nova API as well as the description thereof. Change-Id: I5bb1c1cc531565416efbce16994306cb9ad79000 Closes-bug: #1743887
This commit is contained in:
parent
122bbcace9
commit
f269ab3b22
|
@ -1,5 +1,6 @@
|
|||
<p translate>
|
||||
Key Pairs are how you login to your instance after it is launched.
|
||||
Choose a key pair name you will recognize.
|
||||
Names may only include alphanumeric characters, spaces, or dashes.
|
||||
Names may only include alphanumeric characters, spaces, dashes and
|
||||
underscores.
|
||||
</p>
|
|
@ -50,7 +50,7 @@
|
|||
"name": {
|
||||
title: gettext("Key Pair Name"),
|
||||
type: "string",
|
||||
pattern: "^[A-Za-z0-9 -]+$"
|
||||
pattern: "^[A-Za-z0-9 -_]+$"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue