Created
July 18, 2016 08:53
-
-
Save goofmint/43681847dbb938a24eeaab1f1db29726 to your computer and use it in GitHub Desktop.
4.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// バリデーションの設定 | |
this._formController.setSetting({ | |
output: { | |
style: { | |
errorClassName: 'has-error', | |
replaceElement: function(element) { | |
return $(element).closest('.form-group'); | |
} | |
}, | |
composition: { | |
container: this.$find('.msg'), | |
wrapper: 'div' | |
}, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment