File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
BootstrapBlazor.Server/Components/Samples
BootstrapBlazor/Components/Upload Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4343 <div class =" col-12 col-sm-6" >
4444 <BootstrapInputGroup >
4545 <BootstrapInputGroupLabel DisplayText =" BorderRadius" ></BootstrapInputGroupLabel >
46- <Slider @bind-Value =" @_radius" Min =" 0" Max =" 49" UseInputEvent =" true" ></Slider >
46+ <Slider @bind-Value =" @_radius" Min =" 0" Max =" 49" UseInputEvent =" true" IsDisabled = " @(_isCircle == false) " ></Slider >
4747 </BootstrapInputGroup >
4848 </div >
4949 </div >
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ namespace BootstrapBlazor.Components;
77
88/// <summary>
99/// 头像上传组件
10+ /// <para>AvatarUpload Component</para>
1011/// </summary>
1112public partial class AvatarUpload < TValue >
1213{
Original file line number Diff line number Diff line change @@ -82,12 +82,14 @@ await cut.InvokeAsync(() => input.Instance.OnChange.InvokeAsync(new InputFileCha
8282 {
8383 pb . Add ( a => a . IsDisabled , true ) ;
8484 } ) ;
85- cut . Contains ( "upload-item-actions" ) ;
85+ cut . DoesNotContain ( "upload-item-actions" ) ;
8686
8787 // IsUploadButtonAtFirst
8888 cut . SetParametersAndRender ( pb =>
8989 {
9090 pb . Add ( a => a . IsUploadButtonAtFirst , true ) ;
91+ pb . Add ( a => a . IsDisabled , false ) ;
92+ pb . Add ( a => a . IsMultiple , true ) ;
9193 } ) ;
9294 }
9395
You can’t perform that action at this time.
0 commit comments