fix(date) : efface l'erreur de saisie manuelle quand modelValue change
This commit is contained in:
@@ -122,6 +122,7 @@ const onSelect = (iso: string, close: () => void) => {
|
||||
}
|
||||
|
||||
watch(() => props.modelValue, (val) => {
|
||||
internalError.value = ''
|
||||
if (val && !isValidIso(val) && import.meta.dev) {
|
||||
console.warn(`[MalioDate] modelValue invalide ignoré : "${val}"`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user