hotfix: #6917 set right time #632
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#632
Loading…
Reference in New Issue
No description provided.
Delete Branch "hotfix-fixVnInputTime"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -14,13 +14,13 @@ const props = defineProps({
default: false,
},
});
const initialDate = ref(model.value);
Mantenemos la fecha inicial.
@ -63,4 +64,2 @@
return date.formatDate(new Date(newDate), dateFormat);
}
watch(
Esto no hacía nada, no es posible modificar el valor de una variable de tipo computed.
@ -69,4 +66,0 @@
{ immediate: true }
);
watch(
Al usar un input type="time" esto ya no es necesario.
@ -102,7 +76,7 @@ watch(
style="min-width: 100px"
:rules="$attrs.required ? [requiredFieldRule] : null"
@click="isPopupOpen = false"
@focus="inputRef.getNativeElement().setSelectionRange(0, 0)"
Ya no es necesario
@ -149,6 +123,11 @@ watch(
border-style: solid;
}
</style>
<style lang="scss" scoped>
Oculta el icono por defecto de los input type="time"
@ -20,4 +21,3 @@
const dateFormat = 'HH:mm';
const isPopupOpen = ref();
const hover = ref();
const inputRef = ref();
Ya no se usa