dotvvm icon indicating copy to clipboard operation
dotvvm copied to clipboard

generated IDs in Repeater.SeparatorTemplate are not unique

Open exyi opened this issue 5 years ago • 0 comments

see the AutomaticIdGeneration_Repeater test

<dot:Repeater DataSource={value: ...} id=myRepeater>
    <ItemTemplate> ... </ItemTemplate>
    <SeparatorTemplate> <span id=mySpan_sep></span> </SeparatorTemplate>
</dot:Repeater>

produces multiple mySpan_sep elements without trying to avoid the ID conflict. It is the same in client-side and server-side rendering.

exyi avatar Sep 22 '20 11:09 exyi