Skip to content

Commit cb4d66a

Browse files
author
Jason Stumbaugh
committed
Update the README with info about multi-selects
1 parent b513330 commit cb4d66a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ This also works for filters:
5050
end
5151
```
5252
53+
By default, you can only select one at a time for a filter. You can
54+
specify a multi-select with:
55+
56+
```ruby
57+
ActiveAdmin.register Product do
58+
filter(:category, as: :searchable_select, multiple: true)
59+
end
60+
```
61+
5362
### Fetching Options via Ajax
5463
5564
For large collections, rendering the whole set of options can be to

0 commit comments

Comments
 (0)