svelte-datepicker
svelte-datepicker copied to clipboard
Formatted value doesn't update
See: https://svelte.dev/repl/0062ae61dfb34507801ec5b38e344609?version=3.31.2
While the selected underlying value updates, the formatted value doesn't update accordingly.
I need the date picker value and formatted value to react to svelte-forms-lib updateIntialValues() after a GET request.
This means that the date picker is initialized without any value and then has to update after xyz seconds without any manual interaction.
This makes sense, the value isn't bound and is set in a store upon init. We'd have to somehow watch for those values and re-init the context if they are updated.