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

Feature #195 form validate #202

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

smallcosmos
Copy link
Contributor

form下所有可能存在验证功能的组件增加rules属性,包括

  • check
  • checkgroup
  • datepicker
  • input
  • multiselect
  • radiogroup
  • select
  • textarea
  • upload

@mention-bot
Copy link

@smallcosmos, thanks for your PR! By analyzing the history of the files in this pull request, we identified @int64ago, @nupthale and @rainfore to be potential reviewers.

@nupthale nupthale added this to the 0.6.2 milestone Aug 14, 2017
@nupthale nupthale modified the milestones: 0.6.2-beta.1, 0.6.2, v0.6.2-beta.3 Aug 23, 2017
showTime: false,
open: false,
});
this.supr();

this.$watch('required', function (newValue) {
if (newValue) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

每个文件的都有的, 最好放到一起mixin

Copy link
Member

@nupthale nupthale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

确定好之后再合并

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

Successfully merging this pull request may close these issues.

3 participants