Fix project Name length issue

Extend the length of project name to 255
This commit is contained in:
Deng, Qian 2018-01-18 18:50:56 +08:00
parent 873d537b17
commit 86454d3e88
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
"clarity-icons": "^0.10.17",
"clarity-ui": "^0.10.17",
"core-js": "^2.4.1",
"harbor-ui": "0.6.23",
"harbor-ui": "0.6.25-dev.3",
"intl": "^1.2.5",
"mutationobserver-shim": "^0.3.2",
"ngx-cookie": "^1.0.0",

View File

@ -8,7 +8,7 @@
<label for="create_project_name" class="col-md-3 form-group-label-override required">{{'PROJECT.NAME' | translate}}</label>
<label for="create_project_name" aria-haspopup="true" role="tooltip" [class.invalid]="!isNameValid" class="tooltip tooltip-validation tooltip-md tooltip-bottom-left">
<input type="text" id="create_project_name" [(ngModel)]="project.name"
name="create_project_name" size="36"
name="create_project_name" size="255"
required
pattern="^[a-z0-9]+(?:[._-][a-z0-9]+)*$"
minlength="2"