Commit 9bf6c46 1 parent 04c56cc commit 9bf6c46 Copy full SHA for 9bf6c46
File tree 1 file changed +14
-7
lines changed
src/BootstrapBlazor.Server/Components/Samples
1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change 25
25
<DemoBlock Title =" @Localizer[" SelectorTitle " ]" Introduction =" @Localizer[" SelectorIntro " ]" Name =" Selector" >
26
26
<section ignore class =" table-9527-02" >
27
27
<GroupBox Title =" @Localizer[" GroupBoxTitle " ]" >
28
- <ValidateForm Model =" @Model" >
29
- <EditorForm TModel =" Foo" ItemsPerRow =" 3" >
30
- <FieldItems >
31
- <EditorItem @bind-Field =" @context.Hobby" Items =" @Hobbies" />
32
- </FieldItems >
33
- </EditorForm >
34
- </ValidateForm >
28
+ <div class =" row g-2 form-inline" >
29
+ <div class =" col-12 col-sm-6" >
30
+ <Display Value =" Model.Name" ShowLabel =" true" DisplayText =" Name" ></Display >
31
+ </div >
32
+ <div class =" col-12 col-sm-6" >
33
+ <Display Value =" Model.Address" ShowLabel =" true" DisplayText =" Address" ></Display >
34
+ </div >
35
+ <div class =" col-12 col-sm-6" >
36
+ <Display Value =" Model.DateTime" ShowLabel =" true" DisplayText =" DateTime" ></Display >
37
+ </div >
38
+ <div class =" col-12 col-sm-6" >
39
+ <Display Value =" Model.Education" ShowLabel =" true" DisplayText =" Education" ></Display >
40
+ </div >
41
+ </div >
35
42
</GroupBox >
36
43
</section >
37
44
<ExportPdfButton Selector =" .table-9527-02" IsAsync =" true" OnBeforeExport =" OnBeforeExport" OnAfterDownload =" OnAfterDownload" AutoDownload =" true" FileName =" @PdfFileName" ></ExportPdfButton >
You can’t perform that action at this time.
0 commit comments