Remove disabled from text inputs in form editor

Was causing that those inputs were rendered with transparent background
[MAILPOET-2609]
This commit is contained in:
Rostislav Wolny
2020-02-19 11:36:49 +01:00
committed by Pavel Dohnal
parent 6c4a7a9ee0
commit ab1e2ef0a9
4 changed files with 0 additions and 4 deletions

View File

@@ -86,7 +86,6 @@ const CustomTextEdit = ({ attributes, setAttributes, clientId }) => {
className="mailpoet_text" className="mailpoet_text"
type="text" type="text"
name="custom_text" name="custom_text"
disabled
placeholder={placeholder} placeholder={placeholder}
data-automation-id="editor_custom_text_input" data-automation-id="editor_custom_text_input"
/> />

View File

@@ -39,7 +39,6 @@ const EmailEdit = ({ attributes, setAttributes }) => {
className="mailpoet_text" className="mailpoet_text"
type="email" type="email"
name="email" name="email"
disabled
placeholder={placeholder} placeholder={placeholder}
data-automation-id="editor_email_input" data-automation-id="editor_email_input"
/> />

View File

@@ -45,7 +45,6 @@ const FirstNameEdit = ({ attributes, setAttributes }) => {
className="mailpoet_text" className="mailpoet_text"
type="text" type="text"
name="first_name" name="first_name"
disabled
placeholder={placeholder} placeholder={placeholder}
data-automation-id="editor_first_name_input" data-automation-id="editor_first_name_input"
/> />

View File

@@ -45,7 +45,6 @@ const LastNameEdit = ({ attributes, setAttributes }) => {
className="mailpoet_text" className="mailpoet_text"
type="text" type="text"
name="last_name" name="last_name"
disabled
placeholder={placeholder} placeholder={placeholder}
data-automation-id="editor_last_name_input" data-automation-id="editor_last_name_input"
/> />