KEYCLOAK-2132
Error message is not displyed when trying to select empty role.
This commit is contained in:
parent
8e127bf699
commit
cb20d360c4
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
ng-options="r.name for r in realmRoles | orderBy:'toString()'">
|
ng-options="r.name for r in realmRoles | orderBy:'toString()'">
|
||||||
<option style="display:none" value="">Select a role</option>
|
<option style="display:none" value="">Select a role</option>
|
||||||
</select>
|
</select>
|
||||||
<button class="btn btn-default" type="submit" ng-click="selectRealmRole()" tooltip-trigger="mouseover mouseout" tooltip="Select realm role" tooltip-placement="right">
|
<button class="btn btn-default" type="submit" data-ng-disabled="!selectedRealmRole.role" ng-click="selectRealmRole()" tooltip-trigger="mouseover mouseout" tooltip="Select realm role" tooltip-placement="right">
|
||||||
Select Realm Role</i>
|
Select Realm Role</i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
ng-options="r.name for r in clientRoles | orderBy:'toString()'">
|
ng-options="r.name for r in clientRoles | orderBy:'toString()'">
|
||||||
<option style="display:none" value="">Select a role</option>
|
<option style="display:none" value="">Select a role</option>
|
||||||
</select>
|
</select>
|
||||||
<button class="btn btn-default" type="submit" ng-click="selectClientRole()" tooltip-trigger="mouseover mouseout" tooltip="Select client role" tooltip-placement="right">
|
<button class="btn btn-default" type="submit" data-ng-disabled="!selectedClientRole.role" ng-click="selectClientRole()" tooltip-trigger="mouseover mouseout" tooltip="Select client role" tooltip-placement="right">
|
||||||
Select Client Role
|
Select Client Role
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue