fix(settings): update settings input to use default value

The SettingsInput component now uses the default value if there is a
default value. Tests for this were added.
This commit is contained in:
2026-07-28 20:10:25 +02:00
parent 2d61e9f927
commit 4054d0793f
2 changed files with 34 additions and 2 deletions
@@ -35,7 +35,7 @@ const props = defineProps({
const store = useSettingsStore();
const inputModel = ref(store.get(props.path));
const inputModel = ref(store.get(props.path) ?? props.setting.default);
let oldInputValue = inputModel.value;
const doneButtonInitial = ref(true);