1
0
Fork 0
mirror of synced 2024-09-08 21:51:58 +12:00

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

View file

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