Associate ScadaBridge controls, guidance and editor errors

This commit is contained in:
Joseph Doherty
2026-11-13 17:59:00 -05:00
parent 20885b6161
commit 915a8a5914
93 changed files with 24126 additions and 476 deletions
@@ -21,7 +21,7 @@
</div>
<div class="col-12">
<label class="form-label" for="attr-data-type">Data Type</label>
<select id="attr-data-type" class="form-select" value="@_dataType" @onchange="OnDataTypeChanged" disabled="@Editing">
<select aria-describedby="@(Editing ? "attr-type-hint" : null)" id="attr-data-type" class="form-select" value="@_dataType" @onchange="OnDataTypeChanged" disabled="@Editing">
@foreach (var dt in Enum.GetValues<DataType>())
{
<option value="@dt">@dt</option>
@@ -29,7 +29,7 @@
</select>
@if (Editing)
{
<div class="form-text">Data type is fixed once the attribute is created.</div>
<div id="attr-type-hint" class="form-text">Data type is fixed once the attribute is created.</div>
}
</div>
@if (_dataType == DataType.List)