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)} /> -
+ ); };