Fix credential not clearing when deselected in login block (#4581)
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user