With previous versions for power bi visuals api we used to define a valid number range for format model numeric input fields using validValue :
But with the latest version 5.1.0 using getFormattingModel() this valid values is not working, so how to define an allowable number range for a numeric field in format pane for custom visuals.