diff --git a/package.json b/package.json index ff253d95..7eeaed82 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ "fis3": "^3.4.41", "fis3-hook-commonjs": "^0.1.31", "fis3-hook-node_modules": "^2.3.1", - "fis3-parser-typescript": "^1.2.2", + "fis3-parser-typescript": "^1.3.0", "fis3-postpackager-loader": "^2.1.11", "fis3-preprocessor-js-require-css": "^0.1.3", "font-awesome": "4.7.0", diff --git a/src/renderers/Form/Item.tsx b/src/renderers/Form/Item.tsx index 0ca6e048..516a9d46 100644 --- a/src/renderers/Form/Item.tsx +++ b/src/renderers/Form/Item.tsx @@ -588,7 +588,7 @@ export function registerFormItem(config: FormItemConfig): RendererConfig { 'onChange', 'setPrinstineValue', 'readOnly', - ...(Control as any).propsList + ...(Control as any).propsList || [] ]; static displayName = `FormItem${config.type ? `(${config.type})` : ''}`;