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

Add inputs to DatePicker

Open nicholasvperry opened this issue 2 years ago • 1 comments

I love your datepicker. I think it is great!

I would love to be able to add some input values to the DatePicker Calendar.

I have a current calendar that allows us to add our own inputs. I also would like to have the option to add a button at the bottom. I would be able to handle all the bindings myself but just being able to add things below the calendar.

My thoughts are writing something like this and having the ability for the button to close the calendar once clicked.

<DatePicker> <select> <option value="">--Please choose an option--</option> <option value="foo">Foo</option> <option value="bar">Bar</option> </select> <button>test</button> </DatePicker>

image

nicholasvperry avatar Jan 26 '23 20:01 nicholasvperry

Sure, that sounds useful

probablykasper avatar Jan 26 '23 23:01 probablykasper