Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit f10a833

Browse files
Add value fallback to empty string
1 parent b981879 commit f10a833

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/control-strip-defaults-component.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ class ComponentWrapper extends Component {
1717
if (getRef) {
1818
otherProps.ref = getRef;
1919
}
20+
if (!otherProps.value) {
21+
otherProps.value = '';
22+
}
2023
const WrappedComponent = component;
2124
return <WrappedComponent {...otherProps} />;
2225
}

0 commit comments

Comments
 (0)