diff options
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.ts b/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.ts index 7c0465f62a..7fed5d9e88 100644 --- a/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.ts +++ b/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.ts @@ -110,14 +110,6 @@ export class InputListItemComponent implements OnInit { } onValueChange(value: any): void { - if (this.type.name == PROPERTY_TYPES.INTEGER || this.type.name == PROPERTY_TYPES.FLOAT) { - this.emitValueChangeEvent(this.parseNumber(value)); - return; - } - if (this.type.name == PROPERTY_TYPES.BOOLEAN) { - this.emitValueChangeEvent(this.parseBoolean(value)); - return; - } this.emitValueChangeEvent(value); } @@ -222,9 +214,6 @@ export class InputListItemComponent implements OnInit { } getSimpleValueInputType() { - if (this.type.name == PROPERTY_TYPES.INTEGER || this.type.name == PROPERTY_TYPES.FLOAT) { - return 'number'; - } return 'text'; } |