jdtcn / BlazorDateRangePicker

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

Agenda displayed outside #12

Closed Eagleleader closed 4 years ago

Eagleleader commented 4 years ago

I use an editform and the daterangepicker into a TD element. When I click on the DateRangePicker, values are shown outside of the TD element: on the completely left side of the screen (menu of the website). I'm using the default Blazor template when you create a project and here is an example of the code:

`@page "/Sample"

@using Sample.Domain @using BlazorDateRangePicker

@inject Sample.Data.OrdersService OneService @inject Sample.Data.ClientsService TwoService @inject NavigationManager NavigationManager

Test

` ![ErrorDateRangePicker](https://user-images.githubusercontent.com/22288854/78453940-2cad9700-7695-11ea-835c-16d8470a70b1.png) I'm using .Net Core 3.1, Blazor and the DRP is used inside a component.razor
Eagleleader commented 4 years ago

Sorry, I solved it adding the EmbeddedContent and following what I found into your demo project. It works right now.

Date