mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 16:26:59 +02:00
Fix issue where Inputfield showIf condition that matches a single period "." was not working correctly due to jQuery adjustments from a couple weeks ago
This commit is contained in:
@@ -1050,7 +1050,7 @@ function InputfieldDependencies($target) {
|
||||
str = str.toString().trim();
|
||||
|
||||
if(str.length > 0) {
|
||||
if(/^-?[\d.]+$/.test(str)) {
|
||||
if(/^-?\d[\d.]*$/.test(str)) {
|
||||
// isNumeric
|
||||
} else {
|
||||
return str;
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user