From ef65b1084ea6431faa86349d3d926d59ae338fbe Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 26 Apr 2022 12:56:34 +0200 Subject: [PATCH] Revert "HiddenField instead of StringField" This reverts commit 04063db60ea04cdda44b2b43f4495660f35946b6. --- ereuse_devicehub/labels/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ereuse_devicehub/labels/forms.py b/ereuse_devicehub/labels/forms.py index 0c118c4c..cd4b5bec 100644 --- a/ereuse_devicehub/labels/forms.py +++ b/ereuse_devicehub/labels/forms.py @@ -1,6 +1,6 @@ from flask import g from flask_wtf import FlaskForm -from wtforms import HiddenField, IntegerField, StringField, validators +from wtforms import IntegerField, StringField, validators from ereuse_devicehub.db import db from ereuse_devicehub.resources.device.models import Device @@ -48,7 +48,7 @@ class TagUnnamedForm(FlaskForm): class PrintLabelsForm(FlaskForm): - devices = HiddenField(render_kw={'class': "devicesList"}) + devices = StringField(render_kw={'class': "devicesList d-none"}) def validate(self, extra_validators=None): is_valid = super().validate(extra_validators)