diff --git a/packages/uniforms/src/connectField.js b/packages/uniforms/src/connectField.js index df6c2a8bb..3fed179e6 100644 --- a/packages/uniforms/src/connectField.js +++ b/packages/uniforms/src/connectField.js @@ -44,7 +44,10 @@ export default function connectField (component, { return; } - if (props.value === undefined && props.required) { + if ( + props.required + && (this.options.ensureValue ? props.value === '' : props.value === undefined) + ) { props.onChange(props.initialValue); } }