Friday, September 1, 2023
4 changes · master
Resolved issues and error corrections
Fields that are only needed as dependencies in forms are now treated as read-only unless explicitly made editable. This prevents accidental edits and avoids sending unintended data when records are created or updated.
Original PR description
The purpose of this commit is to make fieldDependencies are readonly by default. This avoids making fields unintentionally editable. If the field is editable, it will be sent during create/write, which is what we want to avoid.
Use case:
Go to a form view with 2 fields "a" which is readonly and "b" which has "a" as fieldDependencies.
Before this commit:
Record Datapoint thinks that field "a" is editable
After this commit:
Record Datapoint thinks that field "a" is readonlyAfter regenerating employee work entries from the Gantt view, the screen now refreshes automatically so users can immediately see the updated entries. This removes the need to manually reload the page and makes payroll or scheduling checks more reliable.
Original PR description
task-3382376
Fixed an issue where My Timesheets could show an error instead of sample data when no timesheet entries were available. The grid also now avoids overlapping row and section labels with the empty-state helper, making the empty view clearer for users.
Related form fields used behind the scenes are now treated as read-only unless explicitly made editable. This prevents unintended changes from being saved when creating or updating records, reducing the risk of accidental data edits.
Original PR description
The purpose of this commit is to make fieldDependencies are readonly by default. This avoids making fields unintentionally editable. If the field is editable, it will be sent during create/write, which is what we want to avoid.
Use case:
Go to a form view with 2 fields "a" which is readonly and "b" which has "a" as fieldDependencies.
Before this commit:
Record Datapoint thinks that field "a" is editable
After this commit:
Record Datapoint thinks that field "a" is readonly