https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39224
--- Comment #72 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 196570 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196570&action=edit Bug 39224: Smart default value input for attribute mappings Replace the plain text input for 'Default value' in the attribute mappings form with a context-aware component (PatronFieldValueInput) that adapts based on the selected Koha field: - branchcode → library selector (v-select populated from libraries_map) - categorycode → patron category selector (v-select from categories_map) - all others → plain text input (existing behaviour) The default value is also cleared automatically when the Koha field changes, preventing stale values (e.g. a branchcode) from persisting silently when the mapping target is switched to a different field. PatronFieldValueInput is placed at the top-level components/ directory rather than under IdentityProviders/ as the concept — rendering an appropriate input for a given patron field value — is reusable across any part of the Vue application that needs it. -- 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/
