awcodes / filament-curator

A media picker plugin for Filament Panels.
MIT License
298 stars 79 forks source link

Added Option to Set default layout from Config #457

Closed abbasmashaddy72 closed 3 months ago

awcodes commented 3 months ago

Can you do this so that it reads from the plugin as a modifier that defaults to the config? I'd like to be able to set it at that level with something like CuratorPlugin::defaultListView('table' || 'grid')

abbasmashaddy72 commented 3 months ago

Can you do this so that it reads from the plugin as a modifier that defaults to the config? I'd like to be able to set it at that level with something like CuratorPlugin::defaultListView('table' || 'grid')

We Can use Like: ->defaultView('grid' || 'list')

abbasmashaddy72 commented 3 months ago

Can you do this so that it reads from the plugin as a modifier that defaults to the config? I'd like to be able to set it at that level with something like CuratorPlugin::defaultListView('table' || 'grid')

This is Done Check and let me know if any changes

awcodes commented 3 months ago

Thank you. I will look it over as soon as I get a chance. :)