Skip to content
Unverified Commit 8ffad147 authored by EBIBO's avatar EBIBO Committed by GitHub
Browse files

[JENKINS-63855] Support 'min' and 'max' values in the <f:number> tag (#5192)



* [JENKINS-63855] Support 'min' and 'max' values in the <f:number> tag

Add the validator for <f:number> whose clazz is 'number', 'number-required', 'non-negative-number-required', 'positive-number', 'positive-number-required'

* Document of min and max value of <f:input>

* Test for min / max support of <f:input>

In hudson-behaviour.js:
1. Convert the min and max to integer when they are comparing.
2. Since the HtmlUnit can't recognize the string literals, I changed it to string concat.

* Fix for "/minAndMaxValidation" 404 not found

Besides, remove unnecessary exception

Co-authored-by: default avatarOleg Nenashev <o.v.nenashev@gmail.com>
parent 43359ca5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment