https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41063
Martin Renvoize (ashimema) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188389|0 |1 is obsolete| | --- Comment #10 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 188752 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188752&action=edit Bug 41063: Fix additional fields in Vue Additional fields added through Vue.js resource forms were not being saved to the database. This was caused by using ref() instead of reactive() for the current_additional_fields_values object. Since ref() only provides shallow reactivity for objects, changes to nested properties were not being tracked properly. This switches to reactive() which provides deep reactivity tracking, ensuring that all changes to additional field values are properly captured and submitted when the form is saved. Test plan: 1) Go to Administration > Additional fields and add an additional field for erm_agreements 2) Enable ERM and navigate to ERM > Agreements 3) Click to add a new agreement and then fill out the form, making sure to add something into your new additional field 4) Hit save and navigate to the agreement you have just added 5) There will be no additional field added 6) Apply patch and yarn js:build 7) Repeat steps 3 - 5 8) The additional field should be added and displayed correctly Signed-off-by: David Nind <[email protected]> Signed-off-by: Martin Renvoize <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
