Skip to content

Commit d92e737

Browse files
Merge pull request #7260 from syncfusion-content/997818-dev3
997818: Need to Provide Sample Code on ComboBox custom-value section
2 parents c83ed66 + 49b2e9e commit d92e737

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

blazor/combobox/custom-value.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,10 @@ Enable users to enter values that are not present in the data by using the [Allo
1313

1414
To persist the new entry to the underlying data source, handle application logic (for example, in value change handling) to add the custom value to the collection. Users can also commit a custom value with the keyboard (such as pressing Enter) when appropriate.
1515

16+
{% highlight cshtml %}
17+
18+
{% include_relative code-snippet/custom-value/custom-value.razor %}
19+
20+
{% endhighlight %}
21+
1622
{% previewsample "https://blazorplayground.syncfusion.com/embed/LDBACVLQKFyiyoKz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor ComboBox with custom value](./images/blazor-combobox-custom-value.png)" %}

0 commit comments

Comments
 (0)