diff --git a/src/features/settings/components/SettingsInput.vue b/src/features/settings/components/SettingsInput.vue index 18b7367..88bf6b5 100644 --- a/src/features/settings/components/SettingsInput.vue +++ b/src/features/settings/components/SettingsInput.vue @@ -38,6 +38,8 @@ const store = useSettingsStore(); const inputModel = ref(store.get(props.path)); let oldInputValue = inputModel.value; +const doneButtonInitial = ref(true); + const inputId = useId(); const inputLabelId = useId(); @@ -59,6 +61,10 @@ watch(store, (newValue) => { }; }); +watch(inputModel, () => { + doneButtonInitial.value = false; +}); + const apply = function apply () { store.set(props.path, inputModel.value); }; @@ -82,7 +88,9 @@ const apply = function apply () { class="input" />