Hey everyone!
I'm currently focusing a lot on creating components and pages with the help of Telerik Blazor UI.
One problem/question that poped-up recently is the following :
I've been trying to include a Telerik Combobox inside a grid to limit the user to a set of values when creating a new row.
I've been trying to do so with the Template component like the following :
<
GridColumn
Field
=
"@nameof(ConfigDefinitionsPatins.Face)"
Title
=
"Face"
>
<
Template
Context
=
"ctxPatin"
>
@{
var patin = ctxPatin as ConfigDefinitionsPatins;
<
TelerikComboBox
Value
=
"patin.Face"
Data
=
"patin.Face"
Placeholder
=
"Sur le ..."
TextField
=
"@nameof(ConfigDefinitionsPatins.Face)"
Id
=
"face"
>
</
TelerikComboBox
>
}
</
Template
>
</GridColumn
But here's the result comes out negative. You can have a look at the attached file.
What am I doing wrong?
Thanks in advance and stay safe!