Return empty not null on clear (#9078)

This commit is contained in:
melohagan 2023-01-22 15:24:48 +00:00 committed by GitHub
parent 458ab7dadc
commit 245d64d1ad
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@
const clearDateOnBackspace = event => {
if (["Backspace", "Clear", "Delete"].includes(event.key)) {
dispatch("change", null)
dispatch("change", "")
flatpickr.close()
}
}