Mark email as mandatory
[MAILPOET-2452]
This commit is contained in:
committed by
Rostislav Wolný
parent
9460006727
commit
4396903719
@@ -45,10 +45,10 @@ const EmailEdit = ({ attributes, setAttributes }) => {
|
||||
return (
|
||||
<>
|
||||
{inspectorControls}
|
||||
{attributes.labelWithinInput ? (getTextInput(attributes.label)
|
||||
{attributes.labelWithinInput ? (getTextInput(`${attributes.label} *`)
|
||||
) : (
|
||||
<label className="mailpoet_text_label" data-automation-id="editor_email_label" htmlFor="email">
|
||||
{attributes.label}
|
||||
{`${attributes.label} *`}
|
||||
<br />
|
||||
{getTextInput('')}
|
||||
</label>
|
||||
|
Reference in New Issue
Block a user