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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user