settings: Add bootstrap-focus-style to select elements.

The class "bootstrap-focus-style" was not added to some
select elements in modals and this commit adds those.
This commit is contained in:
Sahil Batra 2023-02-16 20:17:42 +05:30 committed by Tim Abbott
parent 27d2ac1e37
commit 1c055f402d
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
<label class="input-label" for="bot-role-select">{{t 'Role' }} <label class="input-label" for="bot-role-select">{{t 'Role' }}
{{> ../help_link_widget link="/help/roles-and-permissions" }} {{> ../help_link_widget link="/help/roles-and-permissions" }}
</label> </label>
<select name="bot-role-select" id="bot-role-select" class="modal_select" data-setting-widget-type="number" {{#if disable_role_dropdown}}disabled{{/if}}> <select name="bot-role-select" id="bot-role-select" class="modal_select bootstrap-focus-style" data-setting-widget-type="number" {{#if disable_role_dropdown}}disabled{{/if}}>
{{> dropdown_options_widget option_values=user_role_values}} {{> dropdown_options_widget option_values=user_role_values}}
</select> </select>
</div> </div>

View File

@ -5,7 +5,7 @@
</div> </div>
<div class="input-group"> <div class="input-group">
<label for="edit_service_interface">{{t "Interface" }}</label> <label for="edit_service_interface">{{t "Interface" }}</label>
<select id="edit_service_interface" class="modal_select" name="service_interface"> <select id="edit_service_interface" class="modal_select bootstrap-focus-style" name="service_interface">
<option value="1">{{t "Generic" }}</option> <option value="1">{{t "Generic" }}</option>
<option value="2">{{t "Slack's outgoing webhooks" }}</option> <option value="2">{{t "Slack's outgoing webhooks" }}</option>
</select> </select>