KEYCLOAK-2131 Create mapper form doesn't validate name input
This commit is contained in:
parent
8e127bf699
commit
20212d8d70
1 changed files with 3 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
||||||
<div class="form-group clearfix">
|
<div class="form-group clearfix">
|
||||||
<label class="col-md-2 control-label" for="name">{{:: 'name' | translate}}</label>
|
<label class="col-md-2 control-label" for="name">{{:: 'name' | translate}}</label>
|
||||||
<div class="col-md-6">
|
<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>
|
</div>
|
||||||
<kc-tooltip>{{:: 'mapper.name.tooltip' | translate}}</kc-tooltip>
|
<kc-tooltip>{{:: 'mapper.name.tooltip' | translate}}</kc-tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
@ -56,7 +56,8 @@
|
||||||
<div>
|
<div>
|
||||||
<select class="form-control" id="mapperTypeCreate"
|
<select class="form-control" id="mapperTypeCreate"
|
||||||
ng-model="mapperType"
|
ng-model="mapperType"
|
||||||
ng-options="mapperType.name for mapperType in mapperTypes">
|
ng-options="mapperType.name for mapperType in mapperTypes"
|
||||||
|
required>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue