From 2a2d5da12fe6e680467c9f8f31c48f229ee9347d Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Thu, 16 Jan 2020 14:10:54 +0100 Subject: [PATCH] Fix spacing of custom checkbox value settings input [MAILPOET-2463] --- .../blocks/custom_checkbox/custom_field_settings.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/js/src/form_editor/blocks/custom_checkbox/custom_field_settings.jsx b/assets/js/src/form_editor/blocks/custom_checkbox/custom_field_settings.jsx index f68493fd4b..cd31e1a531 100644 --- a/assets/js/src/form_editor/blocks/custom_checkbox/custom_field_settings.jsx +++ b/assets/js/src/form_editor/blocks/custom_checkbox/custom_field_settings.jsx @@ -1,5 +1,6 @@ import React, { useEffect, useMemo, useState } from 'react'; import { + BaseControl, Button, ToggleControl, } from '@wordpress/components'; @@ -65,7 +66,7 @@ const CustomFieldSettings = ({ checked={localMandatory} onChange={setLocalMandatory} /> -
+ setLocalCheckboxLabel(event.target.value)} /> -
+ ); };