Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created July 18, 2016 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofmint/8107223bb893002dbf077d56dfd2c78e to your computer and use it in GitHub Desktop.
Save goofmint/8107223bb893002dbf077d56dfd2c78e to your computer and use it in GitHub Desktop.
4.md
this._formController.setSetting({
output: {
style: {
errorClassName: 'has-error',
replaceElement: function(element) {
return $(element).closest('.form-group');
}
},
composition: {
container: this.$find('.msg'),
wrapper: 'div'
},
}, // カンマを忘れずに!
property: {
title: {
displayName: 'タイトル'
},
category: {
displayName: '報告区分'
},
comment: {
displayName: '報告内容'
}
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment