Closed kaka-ruto closed 1 week ago
Fixes #156 & https://github.com/excid3/madmin/issues/176
Currently, belongs_to fields don't show all available options in the dropdown. This PR:
Example usage:
class ArticleResource < Madmin::Resource attribute :parent_article, collection: -> { Article.all } end
Before: Static select dropdown with only the current selection visible After: Searchable dropdown showing all available options with filtering
Testing:
Fixes #156 & https://github.com/excid3/madmin/issues/176
Currently, belongs_to fields don't show all available options in the dropdown. This PR:
Example usage:
Before: Static select dropdown with only the current selection visible After: Searchable dropdown showing all available options with filtering
Testing: