Aggiunto controllo valori nulli dizionario PendReq

This commit is contained in:
Annamaria Sassi
2026-03-30 13:19:40 +02:00
parent c9e6c759aa
commit d5aee28e8a
3 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -126,7 +126,8 @@ namespace WebWindowComplex.Compo
protected string cssValid(string fKey)
{
string ans = "";
if (ListWarnings.ContainsKey(fKey) || DictPendReq.ContainsKey(fKey))
if (ListWarnings != null && DictPendReq != null &&
(ListWarnings.ContainsKey(fKey) || DictPendReq.ContainsKey(fKey)))
ans = "border border-danger";
else
ans = "";
+2 -1
View File
@@ -6,7 +6,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>3.1.3.3012</Version>
<Version>3.1.3.3013</Version>
<Authors>Annamaria Sassi</Authors>
<Company>Egalware</Company>
<Description>Componente gestione Configurazioni avanzate Window per LUX</Description>
@@ -105,5 +105,6 @@