polymer-date-picker
polymer-date-picker copied to clipboard
Multiple?
How do you get this to work with multiple date pickers on the same page? It only seems to show one input..
Hey Mike,
You should be able to include multiple on the same page by providing multiple inputs. The date range picker is meant to bind to any relatedTarget attribute you provide.
So for example:
<polymer-date-picker id="datePicker" selectedDate="{{selectedDate}}" relatedTarget="{{$.trigger}}" opened="false"/>
<polymer-date-picker id="datePicker2" selectedDate="{{selectedDate2}}" relatedTarget="{{$.trigger2}}" opened="false"/>
Let me know if that doesn't work.
- Christophe
On Wed, Oct 22, 2014 at 2:32 AM, Mike Cann [email protected] wrote:
How do you get this to work with multiple date pickers on the same page? It only seems to show one input..
— Reply to this email directly or view it on GitHub https://github.com/christopheclc/polymer-date-picker/issues/4.
Nope, you only seem to get one input:
