Warp Input demo — phone numbers, addresses, money, IDs, signatures and form helpers for Filament. Change or delete anything; the data is reset every hour. warpui.com About Warp Input Docs Ask a question Support
Skip to content

Paste to fill

FormAssist::make()->smartPaste() adds a “Paste to fill” button above the form. Paste an order email or a business card: the fields the text mentions are filled in and marked “AI”. In your app it asks Claude and sends the text to Anthropic. This demo has no API key, so a simple reader stands in: it only reads lines that start with a field name, like “Email: …” (a “ / ” counts as a new line), and the text goes no further than this demo’s server.

Fill the fields from an email

The answer goes through the same fields as typing: the phone number is formatted by PhoneInput, the amount by MoneyInput, and a choice is found by its name. What is saved is each field’s clean format (+16175550142, 1234.50). Fields that were filled are marked “AI” until you change them.

Note: Try it

Press the “Paste to fill” button at the top right and paste this text: “Company: Harbor Supply Co. / Email: buyer@harbor.example / Phone: (617) 555-0142 / Priority: Rush / Total: 1,234.50 / Deliver on: 2026-11-20”. Then press “Fill in the fields”: six fields are filled and marked “AI”. Change one: its mark goes away.

$

Add the line items

Items listed in the text become rows of a repeater (Filament’s Repeater or Warp Repeater): empty rows are used first, then rows are added.

Note: Try it

Press “Paste to fill” and paste “200 x Hex nut / 50 x Machine screw”. Then press “Fill in the fields”: two rows are added with the product and the quantity.

Line items