Skip to content

Commit

Permalink
Fix DropdownToggleSize parameter name usage
Browse files Browse the repository at this point in the history
  • Loading branch information
stsrki committed Oct 7, 2023
1 parent 1f070e3 commit 2be6b57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Demos/Blazorise.Demo/Pages/Tests/DropdownListPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
Data="@Countries"
TextField="@(( item ) => item.Name)"
ValueField="@((item) => item.Iso)"
@bind-SelectedValue="@selectedDropValue"
@bind-SelectedValue="@selectedDropValue"
Color="Color.Primary"
MaxMenuHeight="200px"
Size="Size.Large">
DropdownToggleSize="Size.Large">
Select item
</DropdownList>
</FieldBody>
Expand Down
6 changes: 3 additions & 3 deletions Source/Extensions/Blazorise.Components/DropdownList.razor
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
var value = ValueField != null ? ValueField.Invoke( item ) : default;

<DropdownItem @key="@item" Clicked="@HandleDropdownItemClicked" Value="@value"
ShowCheckbox="@(SelectionMode == DropdownListSelectionMode.Checkbox)"
Checked="IsSelected(value)"
CheckedChanged="@((isChecked) => HandleDropdownItemChecked(isChecked, value))">@text</DropdownItem>
ShowCheckbox="@(SelectionMode == DropdownListSelectionMode.Checkbox)"
Checked="IsSelected(value)"
CheckedChanged="@((isChecked) => HandleDropdownItemChecked(isChecked, value))">@text</DropdownItem>
};
}

0 comments on commit 2be6b57

Please sign in to comment.