Warp Matrix demo — a row × column input field for Filament: stock by size and color, prices, permissions. Change anything; the data is reset every hour. warpui.com About Warp Matrix Docs Ask a question Support
Skip to content

Opening hours

When Maple Thread is open, and who opens the store each day: a day in each row, a time of day or a person in each column.

A choice in each cell

->select([...]) puts a list of choices in each cell: Open, Closed or By appointment. The key of the choice is saved (open, closed, appointment). The empty choice at the top clears the cell.

Note: Try it

Change Sunday × Afternoon from Closed to By appointment. Click “Show what would be saved”: "afternoon": "appointment" is under sun.

Opening hours of the store
Day
Morning (9–12)
Afternoon (12–5)
Evening (5–8)
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

One checkbox per row

->checkbox()->exclusivePerRow() allows one checked cell in each row, like a radio button: one person opens the store each day. ->exclusivePerColumn() does the same for columns.

Note: Try it

Monday is Riley. Click Monday × Sam: Sam is checked and Riley is unchecked. Click Sam again to leave Monday with nobody.

Who opens the store
Day
Riley
Jordan
Sam
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday