admin: validate team association on enter press

This commit is contained in:
nemunaire 2020-01-24 17:46:28 +01:00
commit e45a674937
2 changed files with 5 additions and 1 deletions

View file

@ -84,7 +84,7 @@
<div class="modal-body row">
<label for="tteam" class="col-md-auto col-form-label">Équipe</label>
<div class="col-md-auto">
<select class="custom-select custom-select-sm" id="tteam" ng-model="selectedTeam" ng-options="t.id as t.name for t in teams"></select>
<select class="custom-select custom-select-sm" id="tteam" ng-model="selectedTeam" ng-options="t.id as t.name for t in teams" ng-keypress="validatePKIForm($event)"></select>
</div>
</div>
<div class="modal-footer">