fix: Routing Forms, Number operators were using string operands (#9182)

* Fix operators for number

* Add number operator unit tests

* Fixes and remove between operators

---------

Co-authored-by: Omar López <[email protected]>
This commit is contained in:
Hariom BalharaandOmar López authored and GitHub committed 2023-06-01 20:29:13 +00:00
1 parent 94b16fb327
commit 484f603c9e
13 files changed
+314 -90

No files matched your search

@@ -39,7 +39,8 @@ async function* getResponses(
if (value instanceof Array) {
serializedValue = value.map((val) => escapeCsvText(val)).join(" | ");
} else {
serializedValue = escapeCsvText(value);
// value can be a number as well for type Number field
serializedValue = escapeCsvText(String(value));
}
csvCells.push(serializedValue);
});