Upon submitting my form, it also shows the first option value rather than the one just submitted. I'm creating a stock interface and want users to see their selected stock from the dropdown rather than the first when the information comes up. In other words, the correct information appears on the page upon submission but the dropdown field still shows the first dropdown option, not the one the user selected. I am writing this with the flask framework so some of the code appears as such.
<form class="select_form" method="POST" action="{{ url_for('index') }}">
<div class="select_ticker">
<div class="ticker_options">
<span class="input_selects">Please select</span>
<select name="symbol_select" class="symbol_select" id="ticker">
{% for symbol in symbols %}
<option>
{{symbol['symbol']}}
</option>
{% endfor %}
</select>
</div>
<button type="submit" class="btn">Go</button>
</div>
</form>