qcod / laravel-app-settings

Store settings in database with a manager UI for your Laravel app
MIT License
338 stars 53 forks source link

If setting equals #16

Closed stublackett closed 5 years ago

stublackett commented 5 years ago

Hi,

Great Laravel package.

Just wondering if there's the ability to show / hide some sections based on a setting.

So for example, I have a section titled "Template Settings" would like to only show this section, if a field titled "Demo" is set to true?

saqueib commented 5 years ago

The best way I think you can do it by adding a custom field type.

With the help of some javascript, you should be able to archive it