add name to single input filed

This commit is contained in:
Abhinav 2022-07-09 12:09:14 +05:30
parent efb776f097
commit ab9fa27241

View file

@ -90,6 +90,7 @@ export default function SingleInputForm(props: SingleInputFormProps) {
fullWidth fullWidth
type={showPassword ? 'text' : props.fieldType} type={showPassword ? 'text' : props.fieldType}
id={props.fieldType} id={props.fieldType}
name={props.fieldType}
label={props.placeholder} label={props.placeholder}
value={values.inputValue} value={values.inputValue}
onChange={handleChange('inputValue')} onChange={handleChange('inputValue')}