8000 warn_unsaved_form is not working when using ordering_field in TabularInline · Issue #1738 · unfoldadmin/django-unfold · GitHub
[go: up one dir, main page]

Skip to content

warn_unsaved_form is not working when using ordering_field in TabularInline #1738

@bmuszkalski

Description

@bmuszkalski

What version of Unfold are you using?

django-unfold v0.72.0

What version of Django are you using?

django v5.2.3

What browser are you using?

Firefox

Did you checked changelog/commit history, if the bug is not already fixed?

Yes

Did you searched other issues, if the bug is not already fixed?

Yes

Did you checked documentation?

Yes

Describe your issue

Context: Drag-and-drop reordering of tabular inlines should trigger the browser warning popup when warn_unsaved_form is enabled and new ordering is not saved.

Actual behavior: After using only drag-and-drop ordering - without typing or using any widgets - the warning is never shown.

Expected behavior: Drag-and-drop reordering should trigger the "leave without saving?" warning.

https://unfoldadmin.com/docs/inlines/sortable/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0