https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39224
--- Comment #133 from Clemens Tubach <[email protected]> --- Created attachment 202448 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202448&action=edit Bug 39224: Shared Vue component improvements for sub-resource panels Several shared Vue framework components are improved to better support the inline sub-resource panel pattern used across ERM, ILL, and the new identity providers SPA: - AccordionWrapper: add placeholder group support — a group with a `placeholder` config renders an info-styled banner (description text) instead of a form fieldset, useful for "nothing configured yet" states. - FormElement: fix radio button id/name attributes to use `getElementId` computed property instead of raw `attr.name`, avoiding duplicate ids when the same field appears more than once on a page. - FormSection (new): lightweight wrapper that renders a labelled fieldset section inside a form, replacing ad-hoc `<fieldset>` markup in individual resource forms. - RelationshipWidget: minor prop alignment for consistency. - ResourceShow / ResourceFormSave: extend slot API and layout options for sub-resource panels (used by Mapping and Domain panels in the identity providers SPA, and available to future sub-resources). - ShowElement: add `copy` and `truncate` props to the display component used in ResourceShow panels. - base-resource.js (composable): refactor shared create/update/delete logic so sub-resource panels only need to override the minimal API surface, reducing boilerplate in each resource component. These improvements are self-contained and do not change behaviour for existing ERM or ILL components. Sponsored-by: ByWater Solutions Co-authored-by: Jacob O'Mara <[email protected]> Signed-off-by: Clemens Tubach <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
