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

动态添加表单元素添加验证的问题 #11

Closed
jamesDeng opened this issue Jan 6, 2014 · 2 comments
Closed

动态添加表单元素添加验证的问题 #11

jamesDeng opened this issue Jan 6, 2014 · 2 comments

Comments

@jamesDeng
Copy link

就是input 是动态添加的,这个时候我要怎么给这个input加上验证呢

ps: 表单就是那种多行模式,我试过重新auth.render() 这样会给之前添加过验证的input多加一次验证

@minghe
Copy link
Member

minghe commented Jan 7, 2014

亲不需要,auth有个add方法,可以动态添加

@minghe minghe closed this as completed Jan 7, 2014
@jamesDeng
Copy link
Author

那个add方法不完整..没有加message 层到input 下,后面我改造了一下

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

2 participants