Associate ScadaBridge controls, guidance and editor errors
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user