feat(bot): ♿️ Another attempt to disable autofill on text input
This commit is contained in:
@ -53,6 +53,7 @@ export const TextForm = ({
|
|||||||
className="flex items-end justify-between rounded-lg pr-2 typebot-input w-full"
|
className="flex items-end justify-between rounded-lg pr-2 typebot-input w-full"
|
||||||
onSubmit={handleSubmit}
|
onSubmit={handleSubmit}
|
||||||
data-testid="input"
|
data-testid="input"
|
||||||
|
autoComplete={block.type === InputBlockType.TEXT ? 'off' : 'on'}
|
||||||
style={{
|
style={{
|
||||||
marginRight: hasGuestAvatar ? '50px' : '0.5rem',
|
marginRight: hasGuestAvatar ? '50px' : '0.5rem',
|
||||||
maxWidth: isLongText ? undefined : '350px',
|
maxWidth: isLongText ? undefined : '350px',
|
||||||
|
Reference in New Issue
Block a user