Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually updating sortable_field not being saved #225

Open
derblub opened this issue Aug 17, 2022 · 1 comment
Open

Manually updating sortable_field not being saved #225

derblub opened this issue Aug 17, 2022 · 1 comment

Comments

@derblub
Copy link

derblub commented Aug 17, 2022

I've run into an issue, where users are trying to manually update the sortable_field, instead of drag and dropping the objects, which is not being saved. Instead, once the form-save is triggered, the values of the sortable_fields get reset to the initial value, as they are visible in the UI.

Is there any way to trigger a new sorting, once a sortable_field is manually updated?

@fdintino
Copy link
Member

Sorry for the long delay in replying here: usually we just hide the sortable field. Is that not an option for you? Changing an order field is not very intuitive and it can be ambiguous as well (what should happen in a list of 3 items if the last one's sortable field is changed from 2 to 1, so that the items in the inline are now 0, 1, and 1?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants