Warp Quick Look demo — look at a related record without leaving the page: a card on hover, the details on click. Try it anywhere; the data is reset every hour. warpui.com About Warp Quick Look Docs Ask a question Support
Skip to content

Select fields

Add ->quickLook() to preview dropdown options before choosing one. Hover over a candidate or move through the open list with ↑ and ↓. The choice changes only when you click an option or press Enter. The eye previews the selected record.

Preview before choosing a customer

Select::make('customer_id')->options(…)->quickLook(model: Customer::class). With ->relationship(), the model is found automatically. Preview candidates in the open dropdown without changing the selection. The eye beside the field previews the selected customer; “View details” inside a card opens the full details.

Note: Try it

Open “Customer”, then hover over different customers or use ↑ and ↓ to preview them. Your selection stays unchanged until you click an option or press Enter. After choosing, hover over the eye (or focus it with the keyboard) to preview the selected customer.

No choice, no eye

The eye appears only while the field has a value.

Note: Try it

Choose a sales rep: the eye appears. Clear the field with ×: the eye goes away.