File tree Expand file tree Collapse file tree
src/components/BootstrapBlazor.Markdown Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Razor" >
22
33 <PropertyGroup >
4- <Version >9.0.1 </Version >
4+ <Version >9.0.2 </Version >
55 </PropertyGroup >
66
77 <PropertyGroup >
Original file line number Diff line number Diff line change 33// Website: https://www.blazor.zone or https://argozhang.github.io/
44
55using Microsoft . AspNetCore . Components ;
6+ using System . Globalization ;
67using System . Reflection . Metadata ;
78
89namespace BootstrapBlazor . Components ;
@@ -97,7 +98,7 @@ protected override void OnInitialized()
9798
9899 Option . PreviewStyle = PreviewStyle . ToDescriptionString ( ) ;
99100 Option . InitialEditType = InitialEditType . ToDescriptionString ( ) ;
100- Option . Language = Language ;
101+ Option . Language = Language ?? CultureInfo . CurrentUICulture . Name ;
101102 Option . Placeholder = Placeholder ;
102103 Option . Height = $ "{ Height } px";
103104 Option . MinHeight = $ "{ MinHeight } px";
You can’t perform that action at this time.
0 commit comments