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.

Command icon 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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Djeka created an issue. See original summary.

deku-dev’s picture

Version: 1.0.1 » 1.0.x-dev
Issue summary: View changes
gilmord’s picture

Status: Patch (to be ported) » Postponed (maintainer needs more info)

Hi @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!

rviner’s picture

This doesn't quite work multi valued views as 'Add new item' gets added as a new entry.

joelpittet’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Needs review
FileSize
14.02 KB
29.95 KB
33.76 KB
25.16 KB

I'm seeing this as well.

The Update action doesn't close when fallback is in place.

Here's a screenshot tour

Display Fallback
Fallback

Edit Form
Second

After clicking "Update", fallback not show (Problem this issue is trying to solve)
Updated

Cancel, value not updated value
Cancel

joelpittet’s picture

Status: Needs review » Needs work

Thanks 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.

paulrad’s picture

Assigned: Unassigned » paulrad
Status: Needs work » Active

paulrad’s picture

Assigned: paulrad » Unassigned
Status: Active » Needs review
joelpittet’s picture

Status: Needs review » Needs work

@paulrad, any comment on #6 as to my concerns?

joelpittet’s picture

Status: Needs work » Postponed (maintainer needs more info)

Let's use this status to ensure where the question is coming from.