We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed2322d commit 1cc4c9fCopy full SHA for 1cc4c9f
1 file changed
modules/st2-auto-form/fields/integer.js
@@ -14,7 +14,7 @@
14
15
import validator from 'validator';
16
17
-import { BaseTextField, isJinja, isYaql } from './base';
+import { BaseTextField, isJinja } from './base';
18
19
export default class IntegerField extends BaseTextField {
20
static icon = '12'
@@ -24,10 +24,6 @@ export default class IntegerField extends BaseTextField {
24
return v;
25
}
26
27
- if (isYaql(v)) {
28
- return v;
29
- }
30
-
31
if (this.props.name === 'timeout' || this.props.name === 'limit') {
32
return v ;
33
@@ -41,10 +37,6 @@ export default class IntegerField extends BaseTextField {
41
37
42
38
43
39
44
45
46
47
48
40
return v ? v.toString(10) : '';
49
50
0 commit comments