svelte-calendar icon indicating copy to clipboard operation
svelte-calendar copied to clipboard

start not working when bound to a variable

Open nezlicodes opened this issue 3 years ago • 1 comments

I need two calendars for start and end dates. The second calendar should start and the value of start but it's not working.

Your help would be much appreciated.

nezlicodes avatar Nov 15 '21 15:11 nezlicodes

Start and end are not currently reactive (and probably should be). In the meantime you do have access to the datepicker store and can achieve this type of functionality like so:

https://svelte.dev/repl/c02334eea8bf47698712bc7e399d487c?version=3.44.1

6eDesign avatar Nov 18 '21 07:11 6eDesign