Clear Flask Form after submit without refreshing page
I’m building a simple To-Do List app in Flask, and I’ve created a form that’s supposed to add a task within a user’s account. Flask Form: class AddTask(FlaskForm): title = StringField(‘Title’, validators = [DataRequired()]) description = StringField(‘Description’) project = SelectField(‘Project’, choices = [], validators = [DataRequired()]) due_date_time = DateField(‘Due Date’, format=”%Y-%m-%d”) priority = RadioField(‘Priority’, choices … Read more