radzenhq / radzen-blazor

Radzen Blazor is a set of 90+ free native Blazor UI components packed with DataGrid, Scheduler, Charts and robust theming including Material design and FluentUI.
https://www.radzen.com
MIT License
3.52k stars 785 forks source link

Radzen Autocomplete doesn't render in Radzen Datagrid FilterTemplate #62

Closed Mr-Technician closed 3 years ago

Mr-Technician commented 3 years ago

Describe the bug Nesting a <RadzenAutoComplete> component inside the <FilterTemplate> of a data grid component results in incorrect rendering.

To Reproduce Steps to reproduce the behavior:

  1. Create a Radzen Datagrid
  2. Add at least one column and add a filter template.
  3. Add a RadzenAutoComplete component and run the site.
<RadzenGridColumn TItem="ContactGoalViewModel" Property="CompanyName" Title="CLient Agency">
                <FilterTemplate>
                    <RadzenAutoComplete Placeholder="Type to search" Data="agencies" LoadData="SearchAgencies" @bind-Value="CurrentAgency"></RadzenAutoComplete>
                </FilterTemplate>
            </RadzenGridColumn>

Alternatively link your repo with a sample project that can be run.

Expected behavior The autocomplete component should render and run.

Screenshots The client agency and primary liaison are using autocomplete components. image

Desktop (please complete the following information):

akorchev commented 3 years ago

Thank you for reporting this issue! Should be fixed with the next release.