1.0.7 • Published 5 months ago

custom-save-and-stay v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Custom Save and Stay Button for Directus

This interface adds a custom save and stay button avoiding the need to menu dive.

It's a simple (and still hacky) workaround that doesn't rely on keyboard shortcuts.

Just add this custom field to your collection and you're good to go.

Add the custom hidden field to your collection

Save and stay

Why is this needed?

Currently there's an open issue that suggests making "save and stay" the default behaviour for the save button. That issue was marked to be resolved in a next main release of Directus, but that tag has been removed almost one year ago.

I think the best way this feature could be implemented is by making it a general project setting overridable by a user preference setting, so that the user can choose between "save and close" and "save and stay" as the default behaviour for the save button. But until that happens, this is a simple workaround.

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago