Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA remote search that notices when the browser goes offline, switches to the saved options with a visible notice, and searches the server again when the connection returns. Use this when people work on flaky connections.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it in field tools, mobile web apps and anything used on trains and in warehouses, where a search box that silently shows nothing offline is worse than one that says so and offers what it has.
Do not use it when there is nothing sensible to show offline. Then disable the field and say why.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
| --------------- | ---------------------------------------- | ------- | ---------------------------------------------- | --------------------------- |
| search | (query, { signal }) => Promise<Item[]> | - | Searches the server. |
| fallback | Item[] | - | Saved options, filtered locally while offline. |
| value | Item \\ | null | - | Selected item (controlled). |
| defaultValue | Item \\ | null | null | Initial item. |
| onValueChange | (item) => void | - | Runs when an item is picked. |
| debounceMs | number | 250 | Wait after typing. |
You are offline. Showing saved options. and a polite status announces the change; coming back announces Back online and refreshes.Could not reach the server.The pattern ships with a Testing Library test (async-offline-aware.test.tsx) that covers online remote results, the offline fallback with its notice, and returning online.