diff --git a/src/ErrorList.js b/src/ErrorList.js
index 662db34..8628a1c 100644
--- a/src/ErrorList.js
+++ b/src/ErrorList.js
@@ -40,8 +40,8 @@ export default class ErrorList extends Component {
});
render() {
- let {
- noLabel, hideNonForced, complete, schemaType, stylesheet,
+ // eslint-disable-next-line no-unused-vars
+ let { noLabel, hideNonForced, complete, schemaType, stylesheet, formValue, select, label,
...props
} = this.props;
let {Root, Error} = stylesheet || this.constructor.stylesheet;
diff --git a/src/Fieldset.js b/src/Fieldset.js
index deab318..bb317ee 100644
--- a/src/Fieldset.js
+++ b/src/Fieldset.js
@@ -19,6 +19,8 @@ export default class Fieldset extends Component {
render() {
let {Root} = this.props.stylesheet || this.constructor.stylesheet;
- return ;
+ // eslint-disable-next-line no-unused-vars
+ let {stylesheet, formValue, select, selectFormValue, ...props} = this.props;
+ return ;
}
}
diff --git a/src/Input.js b/src/Input.js
index 1297395..d69de28 100644
--- a/src/Input.js
+++ b/src/Input.js
@@ -39,6 +39,9 @@ export default class Input extends React.Component {
if (debounceEnabled) {
value = this.state.value;
}
+ if (Component === 'input' && (value === undefined || value === null)) {
+ value = '';
+ }
return (