Actions
Bug #13581
closedchamp cases à cocher avec des libellés contenant des guillemets
Start date:
13 October 2016
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
Planning:
Description
On se trouve acec le libellé du champ pris comme name, et il y a un truc qui coince derrière.
<input name="f14$elementService public – "Etre un vrai service public local"" max_choices="0" value="yes" inline="False" id="form_f14$elementService public – "Etre un vrai service public local"" type="checkbox">
Files
Actions
#1
Updated by Frédéric Péters over 9 years ago
- File 0001-forms-don-t-use-option-labels-as-element-names-in-ch.patch 0001-forms-don-t-use-option-labels-as-element-names-in-ch.patch added
- File 0001-misc-update-to-checkboxes-widget-changes-13581.patch 0001-misc-update-to-checkboxes-widget-changes-13581.patch added
- Status changed from Nouveau to En cours
- Patch proposed changed from No to Yes
Updated by Thomas Noël over 9 years ago
key, title = option[:2]
key = str(i)
c'est un petit peu "moche", plutôt
...
title = option[1]
if len(option) == 2:
key = i
else:
key = option[2]
mais bon, ack (c'était juste pour prouver que j'ai vraiment relu)
Updated by Frédéric Péters over 9 years ago
- Status changed from En cours to Résolu (à déployer)
commit 319e5605cc14076631f4eae3bf4e1a9f5cd72463
Author: Frédéric Péters <fpeters@entrouvert.com>
Date: Thu Oct 13 13:22:31 2016 +0200
forms: don't use option labels as element names in checkboxes widget (#13581)
Updated by Thomas Noël over 9 years ago
- Related to Bug #13870: panne sur liste à choix multiples : toujours à None added
Updated by Frédéric Péters about 9 years ago
- Status changed from Résolu (à déployer) to Fermé
Actions