🐛 fix(genericModal/index.tsx): change validatePrompt function call to setIsEdit to fix incorrect behavior when blurring input field
This commit is contained in:
parent
5d417fc11d
commit
798be36cd8
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ export default function GenericModal({
|
|||
value={inputValue}
|
||||
onBlur={() => {
|
||||
blur();
|
||||
validatePrompt(true);
|
||||
setIsEdit(false);
|
||||
}}
|
||||
autoFocus
|
||||
onChange={(e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue