react-redux-form icon indicating copy to clipboard operation
react-redux-form copied to clipboard

Control displays blank if initial underlying model value is 0

Open peggers123 opened this issue 7 years ago • 2 comments

The Problem

When a model loads with a 0 value, <Control model="ObjectType.field"/> shows a blank, not a value. Any other underlying value displays

Steps to Reproduce

Have a model with a field with a value set to zero.

Expected Behavior

To show "0" on screen.

Actual Behavior

Shows blank

Reproducible Code Example

(please fork from this CodePen template or this CodeSandbox template)

peggers123 avatar Jul 05 '18 11:07 peggers123

Please create a reproducible example.

davidkpiano avatar Jul 05 '18 12:07 davidkpiano

This is fixed in #1157

Just waiting on a new release.

mitchelldemler avatar Jul 09 '18 04:07 mitchelldemler