-
Notifications
You must be signed in to change notification settings - Fork 392
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
Add changes detection to record editing #1367
Add changes detection to record editing #1367
Conversation
8fbe512
to
a4b5aa7
Compare
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.
Regarding this, please test it how it works with modals.
If all is good, move to QC so it can be confirmed.
Also rebase with 2023.3.x asap
77f8765
to
7254628
Compare
a4b5aa7
to
d292008
Compare
d67d958
to
39b01d3
Compare
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.
Would it make sense to keep using the .clone(), but adjusting it on the class
So we can always use clone, similar to how you do it with other change detection
20e8c7b
to
994ec6d
Compare
bf5d284
to
63d4e0e
Compare
The issue is still present |
2ebbec5
to
02f68e4
Compare
@@ -640,6 +640,7 @@ export default { | |||
checkUnsavedChangesOnModal (bvEvent, modalId) { | |||
if (modalId === 'record-modal' && !this.inCreating) { | |||
const recordStateChange = this.compareRecordValues() ? window.confirm(this.$t('general:editor.unsavedChanges')) : true | |||
console.log('recordStateChange', recordStateChange) |
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 you need this? If not, please, remove
24799a1
to
54f046b
Compare
54f046b
to
79791dc
Compare
The following changes are implemented
TODO: Summary
Changes in the user interface:
TODO: Add screenshots, recordings or remove this section
Checklist when submitting a final (!draft) PR