diff --git a/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-checkbox.js b/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-checkbox.js index d6d18dc61379f..54608cb294afb 100644 --- a/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-checkbox.js +++ b/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-checkbox.js @@ -74,7 +74,6 @@ function JetpackFieldCheckbox( props ) { setAttributes( { required: value } ) } help={ __( 'You can edit the "required" label in the editor', 'jetpack-forms' ) } diff --git a/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-controls.js b/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-controls.js index 918bbf6b0f679..fb86c3d0c7058 100644 --- a/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-controls.js +++ b/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-controls.js @@ -109,7 +109,6 @@ const JetpackFieldControls = ( { setAttributes( { required: value } ) } help={ __( 'You can edit the "required" label in the editor', 'jetpack-forms' ) } @@ -120,7 +119,6 @@ const JetpackFieldControls = ( { key="placeholderField" label={ __( 'Placeholder text', 'jetpack-forms' ) } value={ placeholder || '' } - className="jetpack-field-label__placeholder" onChange={ value => setAttributes( { [ placeholderField ]: value } ) } help={ __( 'Show visitors an example of the type of content expected. Otherwise, leave blank.', @@ -170,9 +168,7 @@ const JetpackFieldControls = ( { - { fieldSettings.filter( Boolean ).map( ( elt, index ) => ( -
{ elt }
- ) ) } + <>{ fieldSettings }