set appendTo to undefined, because FlatPicker checks for !== undefined

This commit is contained in:
Maurits Lourens 2021-09-17 15:06:53 +02:00
parent d3f79cf464
commit 19f5a9c51e
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
export let enableTime = true export let enableTime = true
export let value = null export let value = null
export let placeholder = null export let placeholder = null
export let appendTo = null export let appendTo = undefined
const dispatch = createEventDispatcher() const dispatch = createEventDispatcher()
const flatpickrId = `${generateID()}-wrapper` const flatpickrId = `${generateID()}-wrapper`

View File

@ -10,7 +10,7 @@
export let error = null export let error = null
export let enableTime = true export let enableTime = true
export let placeholder = null export let placeholder = null
export let appendTo = null export let appendTo = undefined
const dispatch = createEventDispatcher() const dispatch = createEventDispatcher()
const onChange = e => { const onChange = e => {