directus / directus/directus

Missing "Unsaved changes" popup when closing drawer with relational data

Open
#26,534 4 comments 0 reactions 0 assignees View on GitHub
Improvement Low Impact Med Reach Studio UX / DX
Dominant language
TypeScript
Stars
37.9k
Forks
4.9k
Avg merge
3d 21h
Merged PRs (30d)
36

Description

### Describe the Bug

Opening drawer with relational data and making changes can be escaped (ESC or X button to close the drawer) without saving the changes

https://github.com/user-attachments/assets/7c5bb39d-e2fb-4117-86c8-76efc6ed3707

This popup is missing

Image

_(Color is customized from different project)_

### To Reproduce

Please see the video above with steps to reproduce it

There is many to many relation between lesson and chapter in my example above - but generally anything in drawer seems to have the same behavior

### Directus Version

v11.14.1

### Hosting Strategy

Self-Hosted (Docker Image)

### Database

sqlite,psql

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.