I am trying to edit dropdown values using experience manager in DD4T site but it's not editing the values however It shows the green region around the dropdown. Here is my code
<select name="field1" id="1" class="">
<option value="">Select Country</option>
@foreach (var countryComp in regionComp.Fields["countries"].LinkedComponentValues)
{ @Html.SiteEditComponentPresentation(regionComp, Model.ComponentTemplate.Id, "")
if (countryComp.Fields.ContainsKey("countryName"))
{
<option value="country-1">@Html.SiteEditField(countryComp, countryComp.Fields["countryName"]) @countryComp.Fields["countryName"].Value</option>
}
}
If there is some example to edit the dropdown values using XPM in a DD4T site?
Below are the regions rendered on the page
Thank you