fix(r2-02): range-validation warnings on the resilience override form (01/S-6 authoring layer)
This commit is contained in:
+14
@@ -33,6 +33,20 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@{ var _warnings = _m.Validate(); }
|
||||
@if (_warnings.Count > 0)
|
||||
{
|
||||
<div class="alert alert-warning mt-3" role="alert">
|
||||
<strong>Out-of-range values will be clamped to a safe value on deploy:</strong>
|
||||
<ul class="mb-0">
|
||||
@foreach (var w in _warnings)
|
||||
{
|
||||
<li>@w</li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
}
|
||||
|
||||
<details class="mt-3">
|
||||
<summary class="small text-muted">Raw JSON (advanced)</summary>
|
||||
<pre class="form-control form-control-sm mono mt-2" style="white-space:pre-wrap;min-height:3rem;">@(_m.ToJson() ?? "(null — all tier defaults)")</pre>
|
||||
|
||||
Reference in New Issue
Block a user