Display a default selection
[MAILPOET-2963]
This commit is contained in:
@ -47,6 +47,7 @@ const CloseButtonsSettings = ({
|
||||
(sel) => sel('mailpoet-form-editor').getCloseIconsUrl(),
|
||||
[]
|
||||
);
|
||||
const current = value ?? 'round_white';
|
||||
return (
|
||||
<div>
|
||||
<h3 className="mailpoet-styles-settings-heading">
|
||||
|
@ -146,7 +146,7 @@ class DisplayFormInWPContent {
|
||||
'form_type' => $displayType,
|
||||
'styles' => $this->formRenderer->renderStyles($formData, '#' . $htmlId, $displayType),
|
||||
'html' => $this->formRenderer->renderHTML($formData),
|
||||
'close_button_icon' => $formSettings['close_button'] ?? 'classic',
|
||||
'close_button_icon' => $formSettings['close_button'] ?? 'round_white',
|
||||
];
|
||||
|
||||
// (POST) non ajax success/error variables
|
||||
|
Reference in New Issue
Block a user