Return empty not null on clear (#9078)
This commit is contained in:
parent
458ab7dadc
commit
245d64d1ad
|
@ -106,7 +106,7 @@
|
|||
|
||||
const clearDateOnBackspace = event => {
|
||||
if (["Backspace", "Clear", "Delete"].includes(event.key)) {
|
||||
dispatch("change", null)
|
||||
dispatch("change", "")
|
||||
flatpickr.close()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue