7253-devToTest_2418 #315

Merged
alexm merged 315 commits from 7253-devToTest_2418 into test 2024-04-23 08:12:46 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit d06271b91d - Show all commits

View File

@ -70,6 +70,7 @@ defineExpose({
const componentIsRendered = ref(false);
onMounted(async () => {
originalData.value = $props.formInitialData;
nextTick(() => {
componentIsRendered.value = true;
});
@ -98,7 +99,7 @@ const isLoading = ref(false);
// Si elegimos observar los cambios del form significa que inicialmente las actions estaran deshabilitadas
const isResetting = ref(false);
const hasChanges = ref(!$props.observeFormChanges);
const originalData = ref({ ...$props.formInitialData });
const originalData = ref({});
const formData = computed(() => state.get($props.model));
const formUrl = computed(() => $props.url);