diff --git a/storybook/qmlTests/tests/tst_SlippageSelector.qml b/storybook/qmlTests/tests/tst_SlippageSelector.qml index bae960f669..43a870f48c 100644 --- a/storybook/qmlTests/tests/tst_SlippageSelector.qml +++ b/storybook/qmlTests/tests/tst_SlippageSelector.qml @@ -120,6 +120,7 @@ Item { {tag: "valid", value: 1.42, valid: true, isDefault: false}, {tag: "default", value: 0.5, valid: true, isDefault: true}, {tag: "invalid", value: 111.42, valid: false, isDefault: false}, + {tag: "hundred", value: 100, valid: false, isDefault: false}, ] } diff --git a/ui/imports/shared/controls/SlippageSelector.qml b/ui/imports/shared/controls/SlippageSelector.qml index 45b4379d50..73e37d1af5 100644 --- a/ui/imports/shared/controls/SlippageSelector.qml +++ b/ui/imports/shared/controls/SlippageSelector.qml @@ -102,7 +102,7 @@ Control { visible: !customButton.visible minValue: 0.01 - maxValue: 100.0 + maxValue: 99.99 maximumLength: 6 // 3 integral + separator + 2 decimals (e.g. "999.99") currencySymbol: d.customSymbol onValueChanged: d.update(value)