Simpler approach is to have a fallback value be an empty string.
Works for type=number
as well.
<input type="number" value={estimatedHours || ''} />
Simpler approach is to have a fallback value be an empty string.
Works for type=number
as well.
<input type="number" value={estimatedHours || ''} />