Skip to content

Commit

Permalink
refactor(form): mapped name field description
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Aug 7, 2024
1 parent 11fc28e commit 8af9f77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/blocks/blocks/form/common.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export const selectAllFieldsFromForm = ( children: any[]) : ({ parentClientId: s

export const mappedNameInfo = (
<Fragment>
{__( 'Allow easy identification of the field.', 'otter-blocks' )}
{__( 'Allow easy identification of the field in features like Webhooks.', 'otter-blocks' )}
<ExternalLink href='https://docs.themeisle.com/article/1878-how-to-use-webhooks-in-otter-forms#mapped-name'> { __( 'Learn More', 'otter-blocks' ) } </ExternalLink>
</Fragment>
);
Expand Down
2 changes: 1 addition & 1 deletion src/pro/blocks/form-stripe-field/inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Inspector = ({

<TextControl
label={ __( 'Mapped Name', 'otter-blocks' ) }
help={ __( 'Allow easy identification of the field with features like: webhooks', 'otter-blocks' ) }
help={ __( 'Allow easy identification of the field in features like Webhooks.', 'otter-blocks' ) }
value={ attributes.mappedName }
onChange={ mappedName => setAttributes({ mappedName }) }
placeholder={ __( 'product', 'otter-blocks' ) }
Expand Down

0 comments on commit 8af9f77

Please sign in to comment.