Skip to content
Permalink
Browse files

fix(form): add missing validation function for form questions

  • Loading branch information...
anehx committed Jun 20, 2019
1 parent 13241bc commit c9a4a0fbaad3ef043ba03c138416c8de29bdda20
Showing with 11 additions and 0 deletions.
  1. +11 −0 addon/lib/field.js
@@ -495,5 +495,16 @@ export default EmberObject.extend(Evented, {
*/
_validateStaticQuestion() {
return resolve(true);
},

/**
* Dummy method for the validation of form fields
*
* @method _validateFormQuestion
* @return {RSVP.Promise}
* @internal
*/
_validateFormQuestion() {
return resolve(true);
}
});

0 comments on commit c9a4a0f

Please sign in to comment.
You can’t perform that action at this time.