Skip to content

Commit

Permalink
Use ToCultureInvariantString as a default on FormatValueAsString
Browse files Browse the repository at this point in the history
  • Loading branch information
stsrki committed Nov 1, 2023
1 parent eede075 commit bc688e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Blazorise/Base/BaseInputComponent.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected async Task CurrentValueHandler( string value )
/// <param name="value">Value to format.</param>
/// <returns>Returns value formatted as string.</returns>
protected virtual string FormatValueAsString( TValue value )
=> value?.ToString();
=> value?.ToCultureInvariantString();

/// <summary>
/// Prepares the right value to be sent for validation.
Expand Down

0 comments on commit bc688e0

Please sign in to comment.