@keycloak/keycloak-account-ui 26.4.0 → 26.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13615,11 +13615,11 @@ const WC = "_title_180i0_2", GC = {
|
|
|
13615
13615
|
"data-testid": u,
|
|
13616
13616
|
label: Gt(t.t, c[u], u, d),
|
|
13617
13617
|
value: u,
|
|
13618
|
-
isChecked: f.value
|
|
13618
|
+
isChecked: f.value?.includes(u),
|
|
13619
13619
|
onChange: () => {
|
|
13620
|
-
a ? f.value
|
|
13621
|
-
f.value
|
|
13622
|
-
) : f.onChange([...f.value, u]) : f.onChange([u]);
|
|
13620
|
+
a ? f.value?.includes(u) ? f.onChange(
|
|
13621
|
+
f.value?.filter((p) => p !== u)
|
|
13622
|
+
) : f.onChange([...f.value || [], u]) : f.onChange([u]);
|
|
13623
13623
|
},
|
|
13624
13624
|
readOnly: r.readOnly,
|
|
13625
13625
|
isRequired: i
|