},
});
-export const TextField = withStyles(styles)((props: WrappedFieldProps & WithStyles<CssRules> & { label?: string }) =>
+export const TextField = withStyles(styles)((props: WrappedFieldProps & WithStyles<CssRules> & { label?: string, autoFocus?: boolean }) =>
<MaterialTextField
helperText={props.meta.touched && props.meta.error}
className={props.classes.textField}
disabled={props.meta.submitting}
error={props.meta.touched && !!props.meta.error}
autoComplete='off'
+ autoFocus={props.autoFocus}
fullWidth={true}
{...props.input}
/>);