Skip to content

Commit 45c8934

Browse files
xristianstefanovTsvetomir-Hr
authored andcommitted
Update knowledge-base/dropdownlist-add-clear-button.md
Co-authored-by: Tsvetomir Hristov <[email protected]>
1 parent 712651a commit 45c8934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

knowledge-base/dropdownlist-add-clear-button.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To add a clear button inside the DropDownList component, follow the steps below:
6464
@code {
6565
private string? SelectedItem { get; set; }
6666
67-
protected List<string> DropDownData = new List<string>() { "first", "second", "third" };
67+
private List<string> DropDownData = new List<string>() { "first", "second", "third" };
6868
6969
private void HandleDropDownListReset()
7070
{

0 commit comments

Comments
 (0)