You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the formatMessage function: var replacements = unwrap(params) || []; (should be around line 451)
when params is 0 (for example, when minimum value is 0), you end up with an empty array, so you get the message 'Please enter a value greater than or equal to {0}'.
I fixed this by replacing the code with
var replacements = unwrap(params);
if (replacements === undefined) {
replacements = [];
}
demo of the problem: http://jsfiddle.net/a1ou4tsf/ (this is the official demo, but with age minimum set to 0 and value set to -5). Press submit to see the result
The text was updated successfully, but these errors were encountered:
In the
formatMessage
function:var replacements = unwrap(params) || [];
(should be around line 451)when params is 0 (for example, when minimum value is 0), you end up with an empty array, so you get the message 'Please enter a value greater than or equal to {0}'.
I fixed this by replacing the code with
demo of the problem: http://jsfiddle.net/a1ou4tsf/ (this is the official demo, but with age minimum set to 0 and value set to -5). Press submit to see the result
The text was updated successfully, but these errors were encountered: