diff --git a/src/renderer/src/dialogs/index.tsx b/src/renderer/src/dialogs/index.tsx index 9c50b4a3..c4045160 100644 --- a/src/renderer/src/dialogs/index.tsx +++ b/src/renderer/src/dialogs/index.tsx @@ -25,6 +25,9 @@ export async function promptTimeOffset({ initialValue, title, text, inputPlaceho text, input: 'text', inputValue: initialValue || '', + didOpen: () => { + Swal.getInput()!.select(); + }, showCancelButton: true, inputPlaceholder, });