Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA searchable select inside a modal dialog that scrolls with the wheel, closes with Escape one layer at a time, returns focus to its button and keeps the dialog's own focus trap working. Use this when a form in a dialog contains a long list.
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 for edit dialogs, create dialogs and settings sheets that contain a picker, where the list must scroll, receive focus and close without closing the dialog.
Do not use it when the picker is the only content of the dialog. Use a command dialog.
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 |
|---|---|---|---|
options | { value, label }[] | - | The choices. |
onSubmit | ({ name, value }) => void | - | Runs when the form is saved. |
title | string | Edit member | Dialog title. |
trigger | ReactNode | a button | What opens the dialog. |
modal, so the page behind stays inert and the list scrolls with the wheel and with touch.The pattern ships with a Testing Library test (combobox-inside-dialog-form.test.tsx) that covers opening the dialog, choosing inside it, Escape closing one layer at a time and saving.