diff --git a/designable/antd/package.json b/designable/antd/package.json index 308a293b7f6..5cb114eef6d 100644 --- a/designable/antd/package.json +++ b/designable/antd/package.json @@ -30,7 +30,7 @@ "start": "webpack-dev-server --config playground/webpack.dev.ts" }, "devDependencies": { - "@designable/react-settings-form": "^0.4.16", + "@designable/react-settings-form": "^0.4.17", "autoprefixer": "^9.0", "file-loader": "^5.0.2", "fs-extra": "^8.1.0", @@ -56,9 +56,9 @@ "react-is": ">=16.8.0 || >=17.0.0" }, "dependencies": { - "@designable/core": "^0.4.16", - "@designable/formily": "^0.4.16", - "@designable/react": "^0.4.16", + "@designable/core": "^0.4.17", + "@designable/formily": "^0.4.17", + "@designable/react": "^0.4.17", "@formily/antd": "2.0.0-beta.83", "@formily/core": "2.0.0-beta.83", "@formily/designable-setters": "2.0.0-beta.83", diff --git a/designable/setters/package.json b/designable/setters/package.json index 4711d3d0092..5315a6d0d3b 100644 --- a/designable/setters/package.json +++ b/designable/setters/package.json @@ -40,10 +40,10 @@ "react-is": ">=16.8.0 || >=17.0.0" }, "dependencies": { - "@designable/core": "^0.4.16", - "@designable/formily": "^0.4.16", - "@designable/react": "^0.4.16", - "@designable/react-settings-form": "^0.4.16", + "@designable/core": "^0.4.17", + "@designable/formily": "^0.4.17", + "@designable/react": "^0.4.17", + "@designable/react-settings-form": "^0.4.17", "@formily/antd": "2.0.0-beta.83", "@formily/core": "2.0.0-beta.83", "@formily/react": "2.0.0-beta.83", diff --git a/designable/setters/src/components/ValidatorSetter/index.tsx b/designable/setters/src/components/ValidatorSetter/index.tsx index 9e2644f10ff..dbdc10ac080 100644 --- a/designable/setters/src/components/ValidatorSetter/index.tsx +++ b/designable/setters/src/components/ValidatorSetter/index.tsx @@ -63,6 +63,9 @@ const ValidatorSchema: ISchema = { type: 'string', 'x-decorator': 'FormItem', 'x-component': 'Select', + 'x-component-props': { + allowClear: true, + }, }, pattern: { type: 'string', @@ -149,6 +152,7 @@ export const ValidatorSetter: React.FC = observer(