jdtcn / BlazorDateRangePicker

A Blazor component for choosing date ranges and dates
MIT License
186 stars 34 forks source link

Calendar position and event click #37

Closed ZANZAAA closed 4 years ago

ZANZAAA commented 4 years ago

I found an issue with the calendar popup. When clicking on the field, the calendar open up in the top left corner of the page and won't disappear until you select a date.

It happens when 'DateRangePicker' is used inside the EditForm component. I've created a project to replicate the issue.

WebApplicationTest.zip image

jdtcn commented 4 years ago

Hi,

The problem is with id="Date" attribute, because it overrides unique id of the input element. You can use name="Date" attribute.