I have a component link multivalued field in a schema for which I have set minoccurs as 1 and maxoccurs as 3. But when I set the min and max occurrences of field, I am not able to add/remove the field from XPM. If I remove the min and max occurrences and leave it as default then I am able to add/remove the field through XPM. Below is the code of dwt template for same:
@@FieldStartMarker("highlight_list")@@ <!-- TemplateBeginRepeat name="Component.Fields.highlight_list" --> @@FieldValueStartMarker(TemplateRepeatIndex)@@ <div class="noTheming promoLable"> @@RenderComponentPresentation(Field, GetTcmUriWebDavURI("/path/Title.tctcmp"))@@ </div> @@FieldValueEndMarker()@@ <!-- TemplateEndRepeat --> @@FieldEndMarker()@@
Please suggest what I am doing wrong here.