Skip to content

Commit 4a8cc9e

Browse files
authored
Tweak select form fields class (#3559)
Bootstrap 5 uses `form-select` (https://getbootstrap.com/docs/5.0/forms/select/) to help indicate the field is a dropdown.
1 parent 6042110 commit 4a8cc9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rails_admin/filter-box.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import flatpickr from "flatpickr";
2121

2222
if (operators.length > 0) {
2323
control = $(
24-
'<select class="form-control form-control-sm"></select>'
24+
'<select class="form-control form-select form-select-sm"></select>'
2525
).prop("name", operator_name);
2626

2727
operators.forEach((operator) => {

0 commit comments

Comments
 (0)