constructor({ id, user, survey, index = 1, }) { this.id = id || uniq('SurveyForm'); this.user = user; this.survey = survey; this.index = index; }
constructor({ id, user, survey }) { this.id = id || uniq('RegisterForm'); this.user = user; this.survey = survey; this.submitted = !!user.valid; }
constructor({ id, user, survey }) { this.id = id || uniq('ResultsForm'); this.user = user; this.survey = survey; }