diff --git a/src/lib/components/refactor/inputfields/NumberInput.svelte b/src/lib/components/refactor/inputfields/NumberInput.svelte
index 9faa93b..249bf99 100644
--- a/src/lib/components/refactor/inputfields/NumberInput.svelte
+++ b/src/lib/components/refactor/inputfields/NumberInput.svelte
@@ -1,17 +1,22 @@
import { writable } from 'svelte/store';
+ import { onMount } from 'svelte';
+
+ let inputElement;
export let form;
export let errors;
@@ -7,11 +10,14 @@
export let field;
export let constraints;
- const state = writable('');
+ onMount(() => {
+ inputElement.focus();
+ });