https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43518

--- Comment #1 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 205529
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205529&action=edit
Bug 43518: Add a reusable PatronSelect Vue component with patron search

Add PatronSelect.vue: a searchable, debounced patron picker built on
v-select. Shows age and library context alongside matching options,
supports loading/disabled states, and exposes slots for custom
option/no-options/spinner rendering. Not tied to any particular
feature - any screen that needs to pick a patron can mount it.

Add fetch/patron-api-client.js's paginated patrons.search() method for
the component to query the patrons API, and vue/utils/functions.js's
debounce() helper it uses to throttle search calls.

Test plan:
1. Run: yarn cypress run --component --browser electron --spec
   't/cypress/component/PatronSelect_spec.ts'
2. Verify all specs pass.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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/

Reply via email to