Add InputRequired() to submit_solution textarea
This commit is contained in:
parent
a1c0baf835
commit
6aaa4c6c50
@ -165,7 +165,7 @@ class SolutionForm(Form):
|
||||
|
||||
user_id = StringField('id', [validators.InputRequired(),])
|
||||
question = RadioField(choices=choices, validators=[validators.InputRequired(),])
|
||||
solution_text = TextAreaField(u'Textfeld')
|
||||
solution_text = TextAreaField(u'Textfeld', [validators.InputRequired(),])
|
||||
|
||||
|
||||
@app.route('/')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user