How to create MyDropDown razor components from RadzenDropDown

Hi,

I have a Blazor Application having pages with the same RadzenDropDown component. I would like to create MyDropDown in order to encapsulate the majority of the business logic. Then, I would simply replace all the RadzenDropDown with MyDropDown and all the code in those razor pages would be simplified.

How can I achieve this? Is there an example somewhere that I can take from? I tried quickly but the browser gave me an error that the Value property was not found or not defined.

Any help would be appreciated.

Thank you

You can create and use custom custom similar to this article