From b7adb0ec8497db005eeeb6e0933a42d74eb9c59f Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Tue, 28 Jul 2020 14:28:33 +0200 Subject: [PATCH] Fix email form block blur/focus issues [MAILPOET-3049] --- assets/js/src/form_editor/blocks/text_input_edit.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/src/form_editor/blocks/text_input_edit.jsx b/assets/js/src/form_editor/blocks/text_input_edit.jsx index 50a47f1184..91cbddce77 100644 --- a/assets/js/src/form_editor/blocks/text_input_edit.jsx +++ b/assets/js/src/form_editor/blocks/text_input_edit.jsx @@ -80,7 +80,7 @@ const TextInputEdit = ({ id={id} ref={input} className="mailpoet_text" - type={name === 'email' ? 'email' : 'text'} + type="text" name={name} placeholder={placeholder} data-automation-id={`editor_${name}_input`}