date-picker-svelte icon indicating copy to clipboard operation
date-picker-svelte copied to clipboard

Add `name` prop

Open davidh10 opened this issue 1 year ago • 3 comments

I´m using your datepicker and it's really awesome. However, one thing I dont understand is how to put the datepicker in a form and set a name for it so it will be passed together with a form submit? Right now i created a normal input field that i hide with css and just bind that value together with the datepickers value but it would for sure be cool to just be able to add a name attribute to the Datepicker itself? Is it possible to do already or?

davidh10 avatar Jan 11 '23 12:01 davidh10