Setting this to true clamps the entered value to the min and max if all the validations are successful.
true
final bool enableMinMaxClamping;