Current dev version broken - saves all fields even if only one changed

Created on 9 January 2024, about 1 year ago
Updated 23 June 2024, 10 months ago

Problem/Motivation

Current 1.x-dev version saves all form fields in a view, even if only one field was changed and save was clicked.
This leads to data loss!
The 8.x-1.0-beta10 version works as expected.

Steps to reproduce

1. Create a view listing nodes (say 10 of them)
2. Add a form field for a boolean field (checkbox) of this node type.
3. Add a page, say "/test"
4. Go to /test - view initializes correctly, depending on current status of the boolean field (some checked, some not).
5. Change the value of ONE of the checkboxes from FALSE to TRUE, click "save"
6. The page refreshes after the submit and ALL checkboxes are set to TRUE - previous data of the unchanged checkboxes is lost.

In case there are different form field types, e.g. a number field and a boolean field - all of their values are set to 1.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇦🇹Austria jordik

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

Comments & Activities

Production build 0.71.5 2024