The issue was this piece of code was creating a duplicate ID of id="lstAgencyNames"
. I took this code out of my main view and it resolved the problem.
<tr>
<td style="display:none" id="@Model.Rqkey">
@{
@await Html.PartialAsync("CreateParticipatingAgencies", Model)
}
</td>
</tr>