nazar-pc / PickMeUp

Really simple, powerful, customizable and lightweight standalone datepicker
BSD Zero Clause License
615 stars 191 forks source link

What to do if not just an input field #166

Closed Supermanaco closed 7 years ago

Supermanaco commented 7 years ago

@nazar-pc , Sorry, I dont want to spam you. PickMeUp works very good with only one input-field. But my form have a lot of input-fields. and now, it doesnt work. What shall i do? I think I have to use a classname, but I do not know how to do that. I would be very happy if you could help me. Thanks so lot

nazar-pc commented 7 years ago

This is basically a duplicate of #163, my comment from there should explain how to approach this task.

Supermanaco commented 7 years ago

Many thanks, it works

nazar-pc commented 7 years ago

Great to know!

Supermanaco commented 7 years ago

And if i want to show only the number of events instead the events (the dates), because i want to hide the events (or the input-field with the events). my last question

nazar-pc commented 7 years ago

You need to write some custom logic with change event. Whenever selected dates change you can count how many dates were selected and use that information where you need.