fix(multivalue): MV-11/MV-13 review nits — correct CLI attribute-delete README synopsis; explicit Disabled + dead-branch cleanup in TemplateEdit list editor

This commit is contained in:
Joseph Doherty
2026-06-16 16:27:44 -04:00
parent ae2e1efb1c
commit 100540b153
2 changed files with 6 additions and 5 deletions
@@ -572,9 +572,11 @@
@if (_attrDataType == DataType.List)
{
<div class="col-12">
@* List VALUE stays editable when editing; only DataType/ElementDataType are server-fixed (ShowElementType hides the type select on edit). *@
<AttributeListEditor @bind-ElementDataType="_attrElementDataType"
@bind-Rows="_attrListRows"
ShowElementType="@(!editing)" />
ShowElementType="@(!editing)"
Disabled="false" />
</div>
}
else
@@ -1591,7 +1593,7 @@
if (dt == DataType.List)
{
_attrValue = null;
if (_attrListRows.Count == 0) _attrListRows = new();
_attrListRows = new();
if (!AttributeValueCodec.IsValidElementType(_attrElementDataType))
_attrElementDataType = DataType.String;
}