I think I have problem I'm stack I try to take value from multi checkbox in Flask
HTML:
{% for tag in tags %} {{tag.name}} {% endfor %}
FLASK:
tags = request.form.getlist("tags") for i in tags: return i
This code always show only last value. If dumps tags show me all values but if I want for loop and save in database on save only one value I would like save separate values
Aucun commentaire:
Enregistrer un commentaire