We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当我不希望任何事件会触发检验,这很有用。
现在如果我不需要默认的triggerType,我必须给每个validator都设置一个不存在的trigger
const schema: ISchema = { type: "object", properties: { input: { type: "string", title: "输入框", description: "这是一个输入框", "x-validator": { triggerType: "", required: true, }, }, } }
如果我不设置 triggerType,将会在输入时触发校验
/
The text was updated successfully, but these errors were encountered:
你别设置规则不就行了
Sorry, something went wrong.
如果是只想展示必填的星号,设置 FormItem 的属性就行了。在 schema 中就是 decoratorProps
希望只有提交时触发校验,不希望触发trigger时触发校验😅
No branches or pull requests
What problem does this feature solve?
当我不希望任何事件会触发检验,这很有用。
现在如果我不需要默认的triggerType,我必须给每个validator都设置一个不存在的trigger
如果我不设置 triggerType,将会在输入时触发校验
What does the proposed API look like?
/
The text was updated successfully, but these errors were encountered: