All field notes

An unknown number is not zero

Coercing a missing input to $0.00 keeps a formula from throwing an error while quietly lying to the person relying on the total.

In small-business finance software, an empty payroll field and a zero-dollar payroll are completely different facts. One means nobody is being paid this cycle. The other means the owner has not entered payroll yet.

When we audited seventeen amount inputs across Oakline Business Banking, several silently parsed blank inputs as zero so the summary card could still render a tidy headline figure. A business owner saw $29,040 “Available” when $4,360 of payroll was simply missing.

Treat missingness as a first-class UI state

In Form’s component contract, numeric values are nullable by design. If any required commitment is missing, the headline switches explicitly to “Incomplete” rather than projecting false precision. A deliberate zero is accepted and displayed distinctly.

Amount input state contract (Form v1.8)
interface CommitmentAmountProps {
  value: number | null;       // null = unknown/incomplete; 0 = explicit zero
  source: 'bank_feed' | 'manual';
  allowExplicitZero?: boolean;
  onApply: (next: number) => void;
}

Good design systems are rarely about button corner radii. They are shared agreements about what edge cases mean across teams—so a fix to null handling or keyboard focus in planning automatically protects invoicing and banking too.