Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I was needed to change view mode after the user has been updated the field value. It's working with cancel option but not with update.; I have made patch to see new updated value.
Comment | File | Size | Author |
---|---|---|---|
#5 | Screenshot 2024-02-05 at 16.55.13.png | 25.16 KB | joelpittet |
#5 | Screenshot 2024-02-05 at 16.55.02.png | 33.76 KB | joelpittet |
#5 | Screenshot 2024-02-05 at 16.54.51.png | 29.95 KB | joelpittet |
#5 | Screenshot 2024-02-05 at 16.54.43.png | 14.02 KB | joelpittet |
editablefields_see_new_value_after_update.patch | 1.23 KB | djeka |
Issue fork editablefields-3308767
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
deku-dev CreditAttribution: deku-dev commentedComment #3
gilmordHi @deku-dev can you give more details on what exactly you need?
Not sure what you mean by "change view mode", can you share some screenshots/videos?
Also, please use the forks instead of patches
Thanks!
Comment #4
rviner CreditAttribution: rviner commentedThis doesn't quite work multi valued views as 'Add new item' gets added as a new entry.
Comment #5
joelpittetI'm seeing this as well.
The Update action doesn't close when fallback is in place.
Here's a screenshot tour
Display Fallback
Edit Form
After clicking "Update", fallback not show (Problem this issue is trying to solve)
Cancel, value not updated value
Comment #6
joelpittetThanks for the patch @djeka, it totally works. I'm setting to "Needs Work" because it side-steps the submit handler "submitForm()" and that could cause some issues if some of those checks like 'filterEmptyItems()' doesn't get called.
Comment #7
paulrad CreditAttribution: paulrad at DevBranch, Drupal Ukraine Community commentedComment #9
paulrad CreditAttribution: paulrad at DevBranch, Drupal Ukraine Community commentedComment #10
joelpittet@paulrad, any comment on #6 as to my concerns?
Comment #11
joelpittetLet's use this status to ensure where the question is coming from.