Description of the need
When a Views' setting (e.g. Header) has been overridden for the current display, it's not easy/obvious how to revert it to match the other displays, especially if it's empty.
For example:
- Create a new view
- Go to
/admin/structure/views/add - Enter a name then click 'Continue & configure'
- Go to
- Override the header
- Click 'Add' next to Header
- Change For to 'This page (override)'
- Tick 'Global: Text area' and click 'Add and configure header'
- Click 'Apply (this display)'
- Click 'Global: Text area' under Header
- Click 'Remove'
The header is now overridden, but empty. The only option is 'Add', but if we click that and then change For to 'Revert to default' and click 'Add and configure header', nothing happens. So we need to add something first, but even then we need to go to the second screen where we configure whatever we added before the 'Revert to default' option takes effect.
Proposed solution
I propose adding a new option to the drop-button for reverting to default:

This would only be available for overridden settings obviously.
Recent comments
Awesome, glad I could help. ๐
Customizing Leaflet Widget popup content and appearance.
Thanks! I managed it out with your help. Turns out I had the Leaflet widget allows for a title and description. This have a dropdown menu in the Leaflet settings within the view...
Customizing Leaflet Widget popup content and appearance.
Hi geoma, no need to excuse. I think, now I got it (more or less). Your problem doesn't actually have much to do with the Leaflet module, but you struggle with the combination of...
Parent items won't show on Leaflet Widget.