Problem/Motivation
When using my sort view to update ordering clicking the [Save] button does not return a helpful message. The page reloads with the updated sort weight values but no success message is presented to user. This leads to confusion.
Steps to reproduce
Drupal 8.9.10 && Weight 3.2.0
Install and configure. Access your sorting view and see that moving items displays a "You have unsaved changes" message prompt. Click the [Save] button and see that no message is returned to user.
Proposed resolution
Add Drupal success message to the viewsFormSubmit() function.
Remaining tasks
I will provide a dev patch for discussion and review.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | weight-success-message-3190850-2.patch | 533 bytes | bygeoffthompson |
Comments
Comment #2
bygeoffthompson commentedPatch attached returns Drupal success message (with translatable text) "Your changes have been saved" after viewsFormSubmit()'s entity is saved.
Thank you
Comment #3
bygeoffthompson commentedComment #5
neslee canil pinto