Avalonia icon indicating copy to clipboard operation
Avalonia copied to clipboard

FallbackValue = 200.0 result in not a valid value for decimal

Open mgth opened this issue 4 months ago • 3 comments

Describe the bug

If I put any decimal value containing a dot xaml file fails with "result in not a valid value for decimal"

To Reproduce

Add a fallback value to any decimal binding containing a dot. Having french culture set.

Expected behavior

No response

Avalonia version

11.1.0 beta1

OS

Windows

Additional context

Current culture is french maybe some CultureInfo.InvariantCulture is missing somewhere. It used to work in 11.0.1

mgth avatar Apr 09 '24 20:04 mgth