RadzenDropDownDataGrid.SearchText initial text does not disappear when user starts typing

RadzenDropDownDataGrid.SearchText initial text does not disappear when user starts typing

RadzenDropDownDataGrid.SearchText is a property that allows the user to specify the text inside the control to invite the user to type in some text to search for. If this property is not set, the default "Search..." text appears and works as expected, except this is only in one language. To be able to localize this text, the SearchText property must be used.

When SearchText is set, this text is displayed inside the data grid. e.g. SearchText="Search Me"
Expected behaviour: "Search me" text is set in gray color. As the user starts to type, the "Search me" disappears and the characters the user typed appear in black color.
Actual behaviour: "Search me" text is set in black color, as if the user typed it in. As the user starts to type, the "Search me" remains and additional text is added as the user types. To do an actual search, the user must first delete the "Search me" text, then start typing in their actual search criteria.

Last confirmed working version: 4.12.1 (there may be a few more working versions after this)
Earliest verified broken version version 4.16.0
As of 4.18.0 this issue still exists.


Source code:
<RadzenDropDownDataGrid Data="@searchFields"
...
SearchText="@Resource.Search"

This is how SearchText is implemented. I think you need to use Placeholder instead.

Thanks for the quick reply, unfortunately Placeholder does not work for me.
I tried this with the latest available package version 4.18.1, and .NET 6

Source code:
<RadzenDropDownDataGrid Data="@searchFields"
TextProperty="Name"
ValueProperty="Self"
@bind-Value="wrap.Field"
FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive"
AllowFiltering="true"
Style="width:inherit;font-size:small;"
Placeholder="Search Me Placeholder"
EmptyText="@Resource.NoRecords"
AllowVirtualization="Extensions.DropDownGridAllowVirtualization"
PageSize="Extensions.DropDownDataGridPageSize"
PageNumbersCount="Extensions.DropDownDataGridPageNumbersCount">

What is displayed in the search box:
Expected result: "Search Me Placeholder"
Actual result: "Search..."

SearchText property used to work as I expected for several months, so the its behaviour definitely changed, regardless of whether it was considered correct before or correct now.

Hey @since23,

The property you are looking for is now called SearchTextPlaceholder.

@enchev SearchTextPlaceholder works! Thank you