Fix another evil falsiness bug with setting checkboxes
This commit is contained in:
parent
bcc86af4b4
commit
ff15205277
|
@ -118,7 +118,7 @@
|
||||||
control={definition.control}
|
control={definition.control}
|
||||||
label={definition.label}
|
label={definition.label}
|
||||||
key={definition.key}
|
key={definition.key}
|
||||||
value={componentInstance[definition.key] || componentInstance[definition.key]?.defaultValue}
|
value={componentInstance[definition.key] ?? componentInstance[definition.key]?.defaultValue}
|
||||||
{componentInstance}
|
{componentInstance}
|
||||||
{onChange}
|
{onChange}
|
||||||
props={{ ...excludeProps(definition, ['control', 'label']) }} />
|
props={{ ...excludeProps(definition, ['control', 'label']) }} />
|
||||||
|
|
Loading…
Reference in New Issue