File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
src/BootstrapBlazor.Server/Components/Samples Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1010 @( (MarkupString )@Localizer [" NormalDesc" ].Value )
1111 </section >
1212 <AutoFill @bind-Value =" Model1" Items =" Items1" IsLikeMatch =" true" OnGetDisplayText =" OnGetDisplayText" class =" mb-3" IsSelectAllTextOnFocus =" true" >
13- <Template >
13+ <ItemTemplate >
1414 <div class =" d-flex" >
1515 <div >
1616 <img src =" @WebsiteOption.CurrentValue.GetAvatarUrl(context.Id)" class =" bb-avatar" />
2020 <div class =" bb-sub" >@Foo.GetTitle(context.Id) </div >
2121 </div >
2222 </div >
23- </Template >
23+ </ItemTemplate >
2424 </AutoFill >
2525 <section ignore >
2626 <img src =" @WebsiteOption.CurrentValue.GetAvatarUrl(Model1.Id)" class =" shadow" style =" width : 140px ; margin-bottom : 1rem ; border-radius : 6px ;" />
3232 <section ignore >@( (MarkupString )Localizer [" CustomFilterDesc" ].Value ) </section >
3333 <AutoFill @bind-Value =" Model2" Items =" Items2" OnCustomFilter =" OnCustomFilter"
3434 OnGetDisplayText =" OnGetDisplayText" class =" mb-3" >
35- <Template >
35+ <ItemTemplate >
3636 <div class =" d-flex" >
3737 <div >
3838 <img src =" @WebsiteOption.CurrentValue.GetAvatarUrl(context.Id)" class =" bb-avatar" />
4242 <div class =" bb-sub" >@Foo.GetTitle(context.Id) </div >
4343 </div >
4444 </div >
45- </Template >
45+ </ItemTemplate >
4646 </AutoFill >
4747 <section ignore >
4848 <EditorForm Model =" @Model2" RowType =" RowType.Inline" ItemsPerRow =" 2" />
5454 @( (MarkupString )@Localizer [" ShowDropdownListOnFocusDesc" ].Value )
5555 </section >
5656 <AutoFill @bind-Value =" Model3" Items =" Items3" ShowDropdownListOnFocus =" false" OnGetDisplayText =" OnGetDisplayText" class =" mb-3" >
57- <Template >
57+ <ItemTemplate >
5858 <div class =" d-flex" >
5959 <div >
6060 <img src =" @WebsiteOption.CurrentValue.GetAvatarUrl(context.Id)" class =" bb-avatar" />
6464 <div class =" bb-sub" >@Foo.GetTitle(context.Id) </div >
6565 </div >
6666 </div >
67- </Template >
67+ </ItemTemplate >
6868 </AutoFill >
6969 <section ignore >
7070 <EditorForm Model =" @Model3" RowType =" RowType.Inline" ItemsPerRow =" 2" />
Original file line number Diff line number Diff line change 8989 <BootstrapInputGroup >
9090 <BootstrapInputGroupLabel DisplayText =" AutoFill" />
9191 <AutoFill TValue =" Foo" Items =" AufoFillItems" IsLikeMatch =" true" OnGetDisplayText =" @(foo => foo.Name ?? " " )" >
92- <Template >
92+ <ItemTemplate >
9393 <div class =" d-flex" >
9494 <div >
9595 <img src =" @WebsiteOption.CurrentValue.GetAvatarUrl(context.Id)" class =" bb-avatar" />
9999 <div class =" bb-sub" >@Foo.GetTitle(context.Id) </div >
100100 </div >
101101 </div >
102- </Template >
102+ </ItemTemplate >
103103 </AutoFill >
104104 </BootstrapInputGroup >
105105 </div >
You can’t perform that action at this time.
0 commit comments