revert: change in core component

This commit is contained in:
ShubhamPalriwala
2024-06-08 05:47:47 +05:30
parent 9d46c269d4
commit e5b7ebbabf

View File

@ -96,12 +96,8 @@ export const SecretInput = forwardRef<HTMLTextAreaElement, Props>(
}}
disabled={isDisabled}
spellCheck={false}
onKeyDown={(evt) => {
if (evt.key === "Tab") {
setIsSecretFocused.off();
}
}}
onBlur={() => {
onBlur={(evt) => {
onBlur?.(evt);
setIsSecretFocused.off();
}}
value={value || ""}