Fix credential not clearing when deselected in login block (#4581)

This commit is contained in:
Celal Zamanoglu
2026-01-30 00:11:11 +03:00
committed by GitHub
parent 344e13a310
commit c94532ceef

View File

@@ -145,6 +145,7 @@ function LoginBlockCredentialSelector({ nodeId, value, onChange }: Props) {
return (
<>
<Select
key={value ?? "no-credential"}
value={isCredentialMissing ? undefined : selectedCredentialId ?? value}
onValueChange={(newValue) => {
if (newValue === "new") {