Closed nishandevkar closed 5 months ago
@nishandevkar It seems there is a merge conflict there.
Which one we are planning to keep
validate_choice=False: then we can us the following word = SelectField('word', choices=[('', 'Select a Word')], validate_choice=False)
validators=[DataRequired()] then we can use
word = SelectField('word', choices=[('', 'Select a Word')], validators=[DataRequired()])
or if we planning to keep both options then we can try the following.
word = SelectField('word', choices=[('', 'Select a Word')], validate_choice=False, validators=[DataRequired()])
Fixes redirection on validation of form on Create route.