2
0

feat(engine): 🧑‍💻 Input default autocompletes

This commit is contained in:
Baptiste Arnaud
2022-06-02 15:40:34 +02:00
parent 274f30c6c2
commit f42dd48533

View File

@@ -61,6 +61,7 @@ export const TextInput = ({ step, value, onChange }: TextInputProps) => {
step.options?.labels?.placeholder ?? 'Type your answer...' step.options?.labels?.placeholder ?? 'Type your answer...'
} }
onChange={handleInputChange} onChange={handleInputChange}
autoComplete="off"
/> />
) )
} }
@@ -74,6 +75,7 @@ export const TextInput = ({ step, value, onChange }: TextInputProps) => {
} }
onChange={handleInputChange} onChange={handleInputChange}
type="email" type="email"
autoComplete="email"
/> />
) )
} }
@@ -102,6 +104,7 @@ export const TextInput = ({ step, value, onChange }: TextInputProps) => {
placeholder={step.options?.labels?.placeholder ?? 'Type your URL...'} placeholder={step.options?.labels?.placeholder ?? 'Type your URL...'}
onChange={handleInputChange} onChange={handleInputChange}
type="url" type="url"
autoComplete="url"
/> />
) )
} }