Item template for script type from display name
This commit is contained in:
parent
ddcaafdbaf
commit
caf1040f06
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@
|
|||
<FormItem Label="Type">
|
||||
<Select @bind-Value="context.Type" TItem="ScriptType" TItemValue="ScriptType" DataSource="Enum.GetValues<ScriptType>()">
|
||||
<LabelTemplate Context="Value">@Value.GetDisplayName()</LabelTemplate>
|
||||
<ItemTemplate Context="Value">@Value.GetDisplayName()</ItemTemplate>
|
||||
</Select>
|
||||
</FormItem>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue