> This adds functions for specifing a min/max value for a BitcoinAmountField. These options only affect user input, so it's still possible to use setValue to set values outside of the min/max range. The existing value will not be changed when calling these functions even if it's out of range. The min/max range will be reinforced when the field loses focus.
> This also adds `SetAllowEmpty` function which specifies if the field is allowed to be left empty by the user. If set to false the field will be set to the minimum allowed value if it's empty when focus is lost.
This is a backport of Core PR14608 [1/2]
Commit: https://github.com/bitcoin/bitcoin/pull/14608/commits/8711cc0c78fb15e49c6ab477a5d922fc51627873