Merge pull request #2727 from alecmerdler/fix-create-robot-invalid
Fix Invalid Robot Creation
This commit is contained in:
commit
76e56d4fca
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
ng-if="entity"></div>
|
ng-if="entity"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body" ng-show="view == 'enterName'">
|
<div class="modal-body" ng-show="view == 'enterName'">
|
||||||
<form name="enterNameForm" ng-submit="createEntity()">
|
<form name="enterNameForm" ng-submit="enterNameForm.$valid && createEntity()">
|
||||||
<label>Provide a name for your new {{ entityTitle }}:</label>
|
<label>Provide a name for your new {{ entityTitle }}:</label>
|
||||||
<input type="text" class="form-control" ng-model="entityName" ng-pattern="entityNameRegexObj" required>
|
<input type="text" class="form-control" ng-model="entityName" ng-pattern="entityNameRegexObj" required>
|
||||||
<div class="help-text">
|
<div class="help-text">
|
||||||
|
|
Reference in a new issue