Feature #master
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>
export const TextField = withStyles(styles)((props: TextFieldProps & {
label?: string, autoFocus?: boolean, required?: boolean, select?: boolean, disabled?: boolean, children: React.ReactNode, margin?: Margin, placeholder?: string,
- helperText?: string,
+ helperText?: string, type?: string,
}) =>
<MaterialTextField
helperText={(props.meta.touched && props.meta.error) || props.helperText}
children={props.children}
margin={props.margin}
placeholder={props.placeholder}
+ type={props.type}
{...props.input}
/>);