jdtcn / BlazorDateRangePicker

A Blazor component for choosing date ranges and dates
MIT License
182 stars 35 forks source link

Ambiguity PickerTemplate in an EditForm #79

Open simonelembo opened 2 years ago

simonelembo commented 2 years ago

The child content element 'PickerTemplate' of component 'DateRangePicker' uses the same parameter name ('context') as enclosing child content element 'ChildContent' of component 'EditForm'. Specify the parameter name like: 'PickerTemplate Context="another_name" to resolve the ambiguity

jdtcn commented 1 year ago

Hi, you can rename it in your code:

<DateRangePicker>
    <PickerTemplate Context="myCustomContext"></PickerTemplate>
</DateRangePicker>