Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit a12aae8

Browse files
committed
clean: remove commented code
1 parent 3a6fc64 commit a12aae8

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

src/components/dynamic-form/DynamicForm.vue

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -289,16 +289,5 @@ export default defineComponent({
289289
onBlur,
290290
};
291291
},
292-
/* watch: {
293-
form: {
294-
handler(newVal, oldVal) {
295-
console.log({
296-
newVal,
297-
oldVal,
298-
});
299-
},
300-
deep: true,
301-
},
302-
}, */
303292
});
304293
</script>

src/composables/input-events.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,6 @@ export function useInputEvents(props: any, emit: any) {
4242
}
4343
})
4444

45-
/* watch(props, (form: any) => {
46-
if (form?.control && !form?.control?.dirty && hasValue(form?.control.value)) {
47-
form.control.dirty = true;
48-
emit('change', {
49-
name: props.control.name,
50-
value: form.control.value
51-
});
52-
}
53-
}); */
54-
5545
return {
5646
onFocus,
5747
onChange,

0 commit comments

Comments
 (0)