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
@@ -70,15 +70,15 @@
else
{
<div class="mb-2">
<label class="form-label small">Name</label>
<label class="form-label small" for="@($"{_fieldScope}-field-1")">Name</label>
@* Name is fixed on edit — the seam has no rename. *@
<input type="text" class="form-control form-control-sm" @bind="_formName" disabled="@IsEditMode" />
<input id="@($"{_fieldScope}-field-1")" type="text" class="form-control form-control-sm" @bind="_formName" disabled="@IsEditMode" />
</div>
<div class="mb-2">
<label class="form-label small">API Method Access</label>
<div class="mb-2" role="group" aria-labelledby="@($"{_fieldScope}-methods-label")" aria-describedby="@($"{_fieldScope}-methods-hint")">
<div id="@($"{_fieldScope}-methods-label")" class="form-label small">API Method Access</div>
@if (_allMethods.Count == 0)
{
<div class="form-text">
<div id="@($"{_fieldScope}-methods-hint")" class="form-text">
No API methods configured.
<a href="/design/external-systems">Create one</a> to grant access.
</div>
@@ -97,7 +97,7 @@
</div>
}
</div>
<div class="form-text">
<div id="@($"{_fieldScope}-methods-hint")" class="form-text">
Callers using this key can invoke any checked method. At least one is required.
</div>
}
@@ -237,3 +237,5 @@
}
}
}
@code { private readonly string _fieldScope = "field-" + Guid.NewGuid().ToString("N"); }