fix(date) : efface l'erreur de saisie manuelle quand modelValue change

This commit is contained in:
2026-06-09 11:58:41 +02:00
parent 58f7744326
commit 9e0c32e9f7
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -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}"`)
}