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 12:28:06 +02:00
parent 67981f6181
commit 98a07496f9
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);