-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: edit single entity correctly works in forms #1144
Conversation
Deployed to https://test-deployment-pr-1144.herokuapp.com/ |
# Conflicts: # src/app/core/entity-components/entity-form/entity-form/entity-form.stories.ts
constructor(private dynamicEntityService: DynamicEntityService) { | ||
constructor( | ||
private dynamicEntityService: DynamicEntityService, | ||
private changeDetection: ChangeDetectorRef |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really, really need to handle change detection manually here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately the asynchronous function makes this necessary
# Conflicts: # src/app/core/entity-components/entity-utils/dynamic-form-components/edit-single-entity/edit-single-entity.component.spec.ts # src/app/core/entity-components/entity-utils/dynamic-form-components/edit-single-entity/edit-single-entity.component.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we can find a solution without overwriting change detection in the future that'd be great but for now this seems to work alright 👍
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
🎉 This PR is included in version 3.1.1-master.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
* refactor: Upgrade @sentry/browser from 6.17.6 to 6.18.1 (#1133) * fix: Changes in progress dashboard are correctly saved * fix: Recording attendance with an invalid date is no longer possible * test(storybook): simplify story setup with a utils StorybookBaseModule and fix most stories (#1145) * refactor: replacing component maps with dynamic registry * fix: improve performance of download button (#1151) * fix: sorting tables ignores case * fix: edit single entity correctly works in forms (#1144) * fix: menu highlighting when no "/" route is set (#1155) * fix: other sections are disabled when creating a new entity * feat: Improved data import feature * fix: release messages are correctly shown * refactor: bump minimist from 1.2.5 to 1.2.6 (#1158) * feat: Added support for multi selection * fix: exports support count queries * chore(i18n): updated german translation Co-authored-by: Snyk bot <snyk-bot@snyk.io> Co-authored-by: Schottkyc137 <45085299+Schottkyc137@users.noreply.github.com> Co-authored-by: Sebastian <sebastian.leidig@gmail.com> Co-authored-by: Alexander S <57322198+Osbie-Feel@users.noreply.github.com> Co-authored-by: Spikeone <fvv1@gmx.de> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
🎉 This PR is included in version 3.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
see issue: #1142
Visible/Frontend Changes
Architectural/Backend Changes
--