Skip to content

Commit 952b47a

Browse files
committed
Attach again the input even if it is already attached
The element comparison don't play well with react which do not always update the input DOM Element if the form is updated.
1 parent 79df5f5 commit 952b47a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/manager.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ export class SecretsManager implements ISecretsManager {
4848
const attachedId = `${namespace}:${id}`;
4949
const attachedInput = this._attachedInputs.get(attachedId);
5050

51-
// Do not attach the input if it is already attached.
52-
if (attachedInput === input) {
53-
return;
54-
}
55-
5651
// Detach the previous input.
5752
if (attachedInput) {
5853
this.detach(namespace, id);

0 commit comments

Comments
 (0)