Fix File
•
/
home
/
sportsfe...
/
httpdocs
/
clone
/
wp-conte...
/
plugins
/
leadin
/
scripts
/
shared
/
Form
•
File:
FormSelector.tsx
•
Content:
import React from 'react'; import HubspotWrapper from '../Common/HubspotWrapper'; import { pluginPath } from '../../constants/leadinConfig'; import AsyncSelect from '../Common/AsyncSelect'; import { __ } from '@wordpress/i18n'; interface IFormSelectorProps { loadOptions: Function; onChange: Function; value: any; } export default function FormSelector({ loadOptions, onChange, value, }: IFormSelectorProps) { return ( <HubspotWrapper pluginPath={pluginPath}> <p data-test-id="leadin-form-select"> <b> {__( 'Select an existing form or create a new one from a template', 'leadin' )} </b> </p> <AsyncSelect placeholder={__('Search for a form', 'leadin')} value={value} loadOptions={loadOptions} onChange={onChange} /> </HubspotWrapper> ); }
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List