diff --git a/openstack_dashboard/static/app/core/keypairs/actions/import.service.js b/openstack_dashboard/static/app/core/keypairs/actions/import.service.js index 4b03b6c7e5..f50386ee5b 100644 --- a/openstack_dashboard/static/app/core/keypairs/actions/import.service.js +++ b/openstack_dashboard/static/app/core/keypairs/actions/import.service.js @@ -49,7 +49,7 @@ "name": { title: gettext("Key Pair Name"), type: "string", - pattern: "^[A-Za-z0-9 -]+$" + pattern: "^[A-Za-z0-9 _-]+$" }, "key_type": { title: gettext("Key Type"),