Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProValidate a CSV before any import: per-column rules (required, number, date, one of a list), a summary of errors by column, a table of problems with line, column and message that can be filtered, and a download of the report. Use this when the person must fix the file first.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Files come from other systems and a clear list of exactly what is wrong saves a round of guessing.
Do not use it when: When rows can just be skipped, use the contact import pattern, which imports the good rows.
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 | Description |
|---|---|---|
spec | { column, rules: Rule[] }[] | Rules per column: required, number (min, max), date, oneOf. |
validateCsv(rows, spec) and parseCsvSimple(text) are exported.
aria-pressed and counts in their labels.The pattern ships with a Testing Library test (csv-validation-report.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.