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:
committed by
Pavel Dohnal
parent
6c4a7a9ee0
commit
ab1e2ef0a9
@@ -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"
|
||||||
/>
|
/>
|
||||||
|
@@ -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"
|
||||||
/>
|
/>
|
||||||
|
@@ -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"
|
||||||
/>
|
/>
|
||||||
|
@@ -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"
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user