The NoDataTemplate() option is not serialized when set to an empty string #8092
Labels
Bug
C: AutoComplete
FP: Unplanned
Sync status with associated Feedback Item
S: Wrappers (ASP.NET Core)
S: Wrappers (ASP.NET MVC)
SEV: Low
Bug report
When setting the NoDataTemplate() option to an empty string, the option is not serialized.
Reproduction of the problem
Define an AutoComplete with NoDataTemplate("")
Search for a non-existing option and notice how the popup opens and displays the default "No data found" message. When initializing the AutoComplete with jQuery and the "noDataTemplate" is set to "", the popup does not open.
A REPL sample for reproduction: https://netcorerepl.telerik.com/cfkPEClS50FUVU5z00
Expected/desired behavior
When the NoDataTemplate("") is set and there are no results, the popup must not open. The NoDataTemplate() option must work equally when using either the AutoComplete HtmlHelper or Kendo UI for jQuery AutoComplete.
Environment
The text was updated successfully, but these errors were encountered: