Wtforms Returns Only None
I have the following HTML, CSS and JS code. However, when I use the search from the top right side and press enter. Flask only get 'None' and what was typed in search. This is the
Solution 1:
You name your field propert_name
in the WTForms instance and in the Flask view. But in the HTML it is called quick_search
.
You also use the attribute type
twice in the input
tag. You say type="text"
and then you redefine type
to submit
later on. This shouldn't cause the problem, but worth it to take care…
Post a Comment for "Wtforms Returns Only None"