fix(@desktop): Fix decimal input for components using AmountInput

Fixes #10413
This commit is contained in:
Dario Gabriel Lipicar 2023-05-08 15:18:24 -03:00 committed by dlipicar
parent 890e0aa2bd
commit e022c98b4c
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ Input {
decimals: root.allowDecimals ? 100 : 0
bottom: 0
notation: DoubleValidator.StandardNotation
locale: root.locale.name
locale: root.locale.name.split("_")[0] // For whatever reason, this doesn't work properly when being
// passed "language_country". We pass only the language part.
}
StatusBaseText {