Skip to content

Commit 867058a

Browse files
committed
Fix culture
1 parent 2adc156 commit 867058a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Components/src/EventCallbackFactoryBinderExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ bool ConvertWithTypeConverter(object obj, out T value)
819819
}
820820

821821
// We intentionally close-over the TypeConverter to cache it. The TypeDescriptor infrastructure is slow.
822-
var converted = typeConverter.ConvertFromString(context: null, CultureInfo.InvariantCulture, text);
822+
var converted = typeConverter.ConvertFromString(context: null, CultureInfo.CurrentCulture, text);
823823
if (converted == null)
824824
{
825825
value = default;

0 commit comments

Comments
 (0)