mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(modals): prompt dialog not selecting (closes #7289)
This commit is contained in:
parent
f185eb1f5a
commit
dcb086d203
@ -57,6 +57,7 @@ export default function PromptDialog() {
|
|||||||
$form: refToJQuerySelector(formRef)
|
$form: refToJQuerySelector(formRef)
|
||||||
});
|
});
|
||||||
answerRef.current?.focus();
|
answerRef.current?.focus();
|
||||||
|
answerRef.current?.select();
|
||||||
}}
|
}}
|
||||||
onSubmit={() => {
|
onSubmit={() => {
|
||||||
submitValue.current = value;
|
submitValue.current = value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user