Change display mode after update in enabled fallback

Created on 9 September 2022, almost 2 years ago
Updated 21 February 2024, 4 months ago

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.

✨ Feature request
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Djeka

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine gilmord πŸ‡ΊπŸ‡¦Ukraine

    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!

  • πŸ‡¬πŸ‡§United Kingdom rviner

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

  • Status changed to Needs review 5 months ago
  • πŸ‡¨πŸ‡¦Canada joelpittet Vancouver

    I'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

  • Status changed to Needs work 5 months ago
  • πŸ‡¨πŸ‡¦Canada joelpittet Vancouver

    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.

  • Assigned to paulrad
  • Status changed to Active 4 months ago
  • πŸ‡ΊπŸ‡¦Ukraine paulrad
  • Issue was unassigned.
  • Status changed to Needs review 4 months ago
  • πŸ‡ΊπŸ‡¦Ukraine paulrad
  • Status changed to Needs work 4 months ago
  • πŸ‡¨πŸ‡¦Canada joelpittet Vancouver

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

  • Status changed to Postponed: needs info 4 months ago
  • πŸ‡¨πŸ‡¦Canada joelpittet Vancouver

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

Production build 0.69.0 2024