Skip to content

Commit 1a31312

Browse files
committed
4858 - add INTEGER type mapping to support input type as number
1 parent 4914cf9 commit 1a31312

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

client/src/pages/platform/workflow-editor/utils/getInputHTMLType.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ export default function getInputHTMLType(controlType: string | undefined) {
1010
return 'datetime-local';
1111
case 'EMAIL':
1212
return 'email';
13+
case 'INTEGER':
14+
return 'number';
1315
case 'NUMBER':
1416
return 'text';
1517
case 'PASSWORD':

0 commit comments

Comments
 (0)