nt-lookup-field">Add a Dependent Lookup Field<a class="headerlink" href="#add-a-dependent-lookup-field" title="Permanent link">&para;</a></h3>
<p>Use the addDependentLookupField method to create a new dependent lookup field.</p>
<pre><code class="language-TypeScript">import { spfi } from &quot;@pnp/sp&quot;;
import &quot;@pnp/sp/webs&quot;;
import &quot;@pnp/sp/lists&quot;;
import &quot;@pnp/sp/fields&quot;;

const sp = spfi(...);

const field = await sp.web.fields.addLookup(&quot;My Field&quot;, { LookupLi