Skip to content
New issue

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

[新功能需求] 在form表单中做表单验证 #221

Open
PdxLook opened this issue Jul 18, 2024 · 0 comments
Open

[新功能需求] 在form表单中做表单验证 #221

PdxLook opened this issue Jul 18, 2024 · 0 comments

Comments

@PdxLook
Copy link

PdxLook commented Jul 18, 2024

描述 (Description)

<input type="text" class="form-control" zui-verify="required|phone" />

期望 (Expectation)

zui-verify可以初始定义required,phone,也可自定义规则

结果 (Result)

表单提交验证-可以messager 提示,也可以在input下<label class="form-tip" for="inputSuccess1">这是帮助性提示文本。</label>显示

软件版本 (Software version)

3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant