We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8beb37f commit 0bc1e0aCopy full SHA for 0bc1e0a
components/form/FormItem.tsx
@@ -199,6 +199,10 @@ export default defineComponent({
199
return variables;
200
});
201
const validateRules = (options: ValidateOptions) => {
202
+ // no name, no value, so the validate result is incorrect
203
+ if (namePath.value.length === 0) {
204
+ return;
205
+ }
206
const { validateFirst = false } = props;
207
const { triggerName } = options || {};
208
0 commit comments