diff --git a/modules/ui/components/controls/InputControl.jsx b/modules/ui/components/controls/InputControl.jsx
index 88beae75..0973f363 100644
--- a/modules/ui/components/controls/InputControl.jsx
+++ b/modules/ui/components/controls/InputControl.jsx
@@ -17,16 +17,8 @@ export default function InputControl(inprops) {
}
}, [divRef.current])
- return
+ return
;
}
-
-InputControl.propTypes = {
- type: PropTypes.oneOf(['number', 'text']),
-};
-
-InputControl.defaultProps = {
- type: 'text'
-};
\ No newline at end of file
diff --git a/web/app/cad/craft/schema/types/stringType.ts b/web/app/cad/craft/schema/types/stringType.ts
index c58a85de..e43eb321 100644
--- a/web/app/cad/craft/schema/types/stringType.ts
+++ b/web/app/cad/craft/schema/types/stringType.ts
@@ -4,7 +4,7 @@ import {BaseSchemaField, OperationParamsErrorReporter} from "cad/craft/schema/sc
export interface StringTypeSchema extends BaseSchemaField {
- type: Types.number,
+ type: Types.string,
enum?: string[]