KEYCLOAK-2131 Create mapper form doesn't validate name input

This commit is contained in:
Stian Thorgersen 2015-11-27 16:01:22 +01:00
parent 8e127bf699
commit 20212d8d70

View file

@ -31,7 +31,7 @@
<div class="form-group clearfix">
<label class="col-md-2 control-label" for="name">{{:: 'name' | translate}}</label>
<div class="col-md-6">
<input class="form-control" id="name" type="text" ng-model="mapper.name" data-ng-readonly="!create">
<input class="form-control" id="name" type="text" ng-model="mapper.name" data-ng-readonly="!create" required>
</div>
<kc-tooltip>{{:: 'mapper.name.tooltip' | translate}}</kc-tooltip>
</div>
@ -56,7 +56,8 @@
<div>
<select class="form-control" id="mapperTypeCreate"
ng-model="mapperType"
ng-options="mapperType.name for mapperType in mapperTypes">
ng-options="mapperType.name for mapperType in mapperTypes"
required>
</select>
</div>
</div>