Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
stsrki committed Feb 17, 2024
1 parent 75611d5 commit 71dd5df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Extensions/Blazorise.Components/DropdownList.razor
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
@if ( Virtualize && Data is ICollection<TItem> collectionableData )
{
<Virtualize TItem="TItem" Context="item" Items="@collectionableData">
@itemFragment(item)
@itemFragment( item )
</Virtualize>
}
else
{
@foreach ( var item in Data ?? Enumerable.Empty<TItem>() )
{
@itemFragment(item)
@itemFragment( item )
}
}
}
Expand All @@ -25,8 +25,8 @@
@code {
protected RenderFragment<TItem> itemFragment => item => __builder =>
{
var text = GetItemText(item);
var value = GetItemValue(item);
var text = GetItemText( item );
var value = GetItemValue( item );
var disabled = GetItemDisabled( item );

<DropdownItem @key="@item" Clicked="@HandleDropdownItemClicked" Value="@value" Disabled="@disabled"
Expand Down

0 comments on commit 71dd5df

Please sign in to comment.