Adds a selectSearch field whose options come from a server-side search function instead of static lists. The plugin registers a shared endpoint that the client component queries as the user types, passing the current query and selected values. Requires Payload 3.30 or newer.
Payload plugin and field component for server-backed search select fields.
Installation
npm i @whatworks/payload-select-search-field16
Stars
1
Forks
2
Open Issues
3 days ago
Last Updated
60
Weekly Downloads
v3.1.1
npm Version
46.1 KB
Unpacked Size
0
Dependencies
16+1 since Sep 6
| Date | Stars |
|---|---|
| Dec 5, 2026 | 16 |
| Dec 4, 2026 | 16 |
| Dec 3, 2026 | 16 |
| Dec 2, 2026 | 16 |
| Dec 1, 2026 | 16 |
| Nov 30, 2026 | 16 |
| Nov 29, 2026 | 16 |
| Nov 28, 2026 | 16 |
| Nov 27, 2026 | 16 |
| Nov 26, 2026 | 16 |
| Nov 25, 2026 | 16 |
| Nov 24, 2026 | 16 |
| Nov 23, 2026 | 16 |
| Nov 22, 2026 | 16 |
| Nov 21, 2026 | 16 |
| Nov 20, 2026 | 16 |
| Nov 19, 2026 | 16 |
| Nov 18, 2026 | 16 |
| Nov 17, 2026 | 15 |
| Nov 16, 2026 | 15 |
| Nov 15, 2026 | 15 |
| Nov 14, 2026 | 15 |
| Nov 13, 2026 | 15 |
| Nov 12, 2026 | 15 |
| Nov 11, 2026 | 15 |
| Nov 10, 2026 | 15 |
| Nov 9, 2026 | 15 |
| Nov 8, 2026 | 15 |
| Nov 7, 2026 | 15 |
| Nov 6, 2026 | 15 |
| Nov 5, 2026 | 15 |
| Nov 4, 2026 | 15 |
| Nov 3, 2026 | 15 |
| Nov 2, 2026 | 15 |
| Nov 1, 2026 | 15 |
| Oct 31, 2026 | 15 |
| Oct 30, 2026 | 15 |
| Oct 29, 2026 | 15 |
| Oct 28, 2026 | 15 |
| Oct 27, 2026 | 15 |
| Oct 26, 2026 | 15 |
| Oct 25, 2026 | 15 |
| Oct 24, 2026 | 15 |
| Oct 23, 2026 | 15 |
| Oct 22, 2026 | 15 |
| Oct 21, 2026 | 15 |
| Oct 20, 2026 | 15 |
| Oct 19, 2026 | 15 |
| Oct 18, 2026 | 15 |
| Oct 17, 2026 | 15 |
| Oct 16, 2026 | 15 |
| Oct 15, 2026 | 15 |
| Oct 14, 2026 | 15 |
| Oct 13, 2026 | 15 |
| Oct 12, 2026 | 15 |
| Oct 11, 2026 | 15 |
| Oct 10, 2026 | 15 |
| Oct 9, 2026 | 15 |
| Oct 8, 2026 | 15 |
| Oct 7, 2026 | 15 |
| Oct 6, 2026 | 15 |
| Oct 5, 2026 | 15 |
| Oct 4, 2026 | 15 |
| Oct 3, 2026 | 15 |
| Oct 2, 2026 | 15 |
| Oct 1, 2026 | 15 |
| Sep 30, 2026 | 15 |
| Sep 29, 2026 | 15 |
| Sep 28, 2026 | 15 |
| Sep 27, 2026 | 15 |
| Sep 26, 2026 | 15 |
| Sep 25, 2026 | 15 |
| Sep 24, 2026 | 15 |
| Sep 23, 2026 | 15 |
| Sep 22, 2026 | 15 |
| Sep 21, 2026 | 15 |
| Sep 20, 2026 | 15 |
| Sep 19, 2026 | 15 |
| Sep 18, 2026 | 15 |
| Sep 17, 2026 | 15 |
| Sep 16, 2026 | 15 |
| Sep 15, 2026 | 15 |
| Sep 14, 2026 | 15 |
| Sep 13, 2026 | 15 |
| Sep 12, 2026 | 15 |
| Sep 11, 2026 | 15 |
| Sep 10, 2026 | 15 |
| Sep 9, 2026 | 15 |
| Sep 8, 2026 | 15 |
| Sep 7, 2026 | 15 |
| Sep 6, 2026 | 15 |
Shared by 12 plugins in what-works-global/payload-packages.
89+67 since Sep 6
| Date | Weekly downloads |
|---|---|
| Dec 5, 2026 | 89 |
| Dec 4, 2026 | 90 |
| Dec 3, 2026 | 112 |
| Dec 2, 2026 | 143 |
| Dec 1, 2026 | 184 |
| Nov 30, 2026 | 184 |
| Nov 29, 2026 | 165 |
| Nov 28, 2026 | 122 |
| Nov 27, 2026 | 112 |
| Nov 26, 2026 | 150 |
| Nov 25, 2026 | 159 |
| Nov 24, 2026 | 162 |
| Nov 23, 2026 | 162 |
| Nov 22, 2026 | 188 |
| Nov 21, 2026 | 191 |
| Nov 20, 2026 | 278 |
| Nov 19, 2026 | 246 |
| Nov 18, 2026 | 326 |
| Nov 17, 2026 | 284 |
| Nov 16, 2026 | 292 |
| Nov 15, 2026 | 289 |
| Nov 14, 2026 | 296 |
| Nov 13, 2026 | 239 |
| Nov 12, 2026 | 217 |
| Nov 11, 2026 | 133 |
| Nov 10, 2026 | 142 |
| Nov 9, 2026 | 138 |
| Nov 8, 2026 | 113 |
| Nov 7, 2026 | 101 |
| Nov 6, 2026 | 69 |
| Nov 5, 2026 | 72 |
| Nov 4, 2026 | 52 |
| Nov 3, 2026 | 42 |
| Nov 2, 2026 | 38 |
| Nov 1, 2026 | 41 |
| Oct 31, 2026 | 35 |
| Oct 30, 2026 | 43 |
| Oct 29, 2026 | 34 |
| Oct 28, 2026 | 14 |
| Oct 27, 2026 | 17 |
| Oct 26, 2026 | 18 |
| Oct 25, 2026 | 20 |
| Oct 24, 2026 | 19 |
| Oct 23, 2026 | 11 |
| Oct 22, 2026 | 13 |
| Oct 21, 2026 | 19 |
| Oct 20, 2026 | 16 |
| Oct 19, 2026 | 15 |
| Oct 18, 2026 | 12 |
| Oct 17, 2026 | 13 |
| Oct 16, 2026 | 13 |
| Oct 15, 2026 | 14 |
| Oct 14, 2026 | 15 |
| Oct 13, 2026 | 18 |
| Oct 12, 2026 | 18 |
| Oct 11, 2026 | 18 |
| Oct 10, 2026 | 19 |
| Oct 9, 2026 | 27 |
| Oct 8, 2026 | 25 |
| Oct 7, 2026 | 18 |
| Oct 6, 2026 | 13 |
| Oct 5, 2026 | 13 |
| Oct 4, 2026 | 11 |
| Oct 3, 2026 | 15 |
| Oct 2, 2026 | 7 |
| Oct 1, 2026 | 19 |
| Sep 30, 2026 | 22 |
| Sep 29, 2026 | 22 |
| Sep 28, 2026 | 22 |
| Sep 27, 2026 | 25 |
| Sep 26, 2026 | 23 |
| Sep 25, 2026 | 23 |
| Sep 24, 2026 | 11 |
| Sep 23, 2026 | 16 |
| Sep 22, 2026 | 20 |
| Sep 21, 2026 | 31 |
| Sep 20, 2026 | 31 |
| Sep 19, 2026 | 38 |
| Sep 18, 2026 | 40 |
| Sep 17, 2026 | 40 |
| Sep 16, 2026 | 34 |
| Sep 15, 2026 | 30 |
| Sep 14, 2026 | 19 |
| Sep 13, 2026 | 16 |
| Sep 12, 2026 | 6 |
| Sep 11, 2026 | 5 |
| Sep 10, 2026 | 8 |
| Sep 9, 2026 | 9 |
| Sep 8, 2026 | 10 |
| Sep 7, 2026 | 11 |
| Sep 6, 2026 | 22 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1064440892-select-search-field)<a href="https://payloaddirectory.dev/plugins/1064440892-select-search-field"><img src="https://payloaddirectory.dev/badge/1064440892-select-search-field.svg" alt="Payload Directory"></a>README
Server-backed search select field and plugin for Payload. The client component queries a shared endpoint and passes the current search query plus any currently selected values.
pnpm add @whatworks/payload-select-search-field
Add the plugin:
import { selectSearchPlugin } from '@whatworks/payload-select-search-field'
export default buildConfig({
plugins: [selectSearchPlugin()],
})
Add a field with selectSearch (recommended):
import { selectSearch } from '@whatworks/payload-select-search-field'
selectSearch({
name: 'stripeCustomer',
hasMany: true,
search: {
debounce: {
query: 250,
watchedFields: 600,
},
passDataToSearchFunction: true,
passSiblingDataToSearchFunction: true,
watchFieldPaths: ['customerType', 'region'],
searchFunction: async ({ query, selectedValues }) => {
return [
{ value: 'cus_123', label: `Result for ${query}` },
...selectedValues.map((value) => ({
value,
label: `Selected: ${value}`,
})),
]
},
},
})
debounce controls request timing:
query: debounce in ms for search input typing.watchedFields: debounce in ms for watchFieldPaths-driven refetches.searchFunction receives:
query: the current input text.selectedValues: an array of currently selected values (empty array when nothing is selected).siblingData: sibling field values for the current field path when passSiblingDataToSearchFunction: true.data: full form data when passDataToSearchFunction: true.req, field, and collection/global context.The client component calls the shared endpoint path from selectSearchEndpoint.
payload plugin image relationship
Gallery-style image picker that replaces the default relationship field for media collections
2389/wk3v3
link field
Link field and Lexical link feature supporting internal document and custom URL links
6346/wk0v4
payload fields
Field factories and admin components for Unicode slugs, Jalali dates, integer money and Iranian identity data
75230/wk3v3
payload plugin json form builder
Edit a Payload json field as real admin fields, with the form shape built in the admin panel
72441/wk37v3
payload icon picker
Icon picker field for Payload v4 that stores the icon name and raw SVG, with dropdown or drawer modes
7027/wk0v4
payload phone number plugin
Phone number field with country selection, as-you-type formatting and validation in the Payload admin
69837/wk17v3