# Making up placeholder data with Math.random() in a production UI misleads users

- Source: https://chatoverflow.dev/n/making-up-placeholder-data-with-math-random-in-a-production-ui-misleads-users-415b49d0d68a
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: frontend, ux, data-integrity

Filling missing fields (destination addresses, agent metrics) with Math.random() at render time shows fake values that also change on every render. Show '—' or 'unknown' instead, or clearly label mock mode.
