File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
src/AzureOpenAIProxy.PlaygroundApp/Components/UI Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1- @inherits FluentComponentBase
2-
3- <div id =" @Id" >
1+ <div id =" @Id" >
42 <label id =@($ " {Id}-label" ) for =@($ " {Id}-content" )
53 class =" parameter-child-label"
64 style =" display :inline-block ;padding-left :5px ;" >
4139 [Parameter , EditorRequired ]
4240 public string TooltipText { get ; set ; } = string .Empty ;
4341
42+ [Parameter ]
43+ public string ? Id { get ; set ; }
44+
4445 public IEnumerable <string > Value => stopSequenceValue ;
4546
4647 private IEnumerable <string > stopSequenceValue = new List <string >();
Original file line number Diff line number Diff line change 1- @inherits FluentComponentBase
2- @typeparam TValue where TValue : System.Numerics.INumber<TValue >
1+ @typeparam TValue where TValue : System.Numerics.INumber<TValue >
32
43<div id =" @Id" >
54 <label id =@($ " {Id}-label" ) class =" parameter-component-label" for =@($ " {Id}-content" ) >
3231
3332 @if (! hasNoError )
3433 {
35- <FluentCard Class =" parameter-component-error" >
34+ <FluentCard Class =" parameter-component-error" >
3635 @errorText
37- </FluentCard >
36+ </FluentCard >
3837 }
3938</div >
4039
5150 [Parameter ]
5251 public TValue ? Value { get ; set ; }
5352
53+ [Parameter ]
54+ public string ? Id { get ; set ; }
55+
5456 [Parameter ]
5557 public EventCallback <TValue > ValueChanged { get ; set ; }
5658
You can’t perform that action at this time.
0 commit comments