Bug #8737
champ "hint" ne remplace pas "---" sur une liste à source JSON
Début:
21 octobre 2015
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
sur une liste à source JSON, si on indique un "hint" il est bien utilisé comme premier élément de la liste, mais il reste un "---" en dessous.
(vu sur SVE)
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus de 8 ans
- Fichier 0001-fields-fix-handling-of-optional-item-fields-8737.patch 0001-fields-fix-handling-of-optional-item-fields-8737.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a plus de 8 ans
- Statut changé de En cours à Résolu (à déployer)
commit 5c21487c4c84c17907b3b0405f2c998543345a3c Author: Frédéric Péters <fpeters@entrouvert.com> Date: Wed Oct 21 18:11:19 2015 +0200 fields: fix handling of optional item fields (#8737) External data sources would add an empty element when the list was optional but this was not the case when using the internal elements, and things were worked around when rendering, and inserting, sometimes, the hint as a first element. This is changed to always have an empty element as first item, and replacing it with the hint when rendering.
fields: fix handling of optional item fields (#8737)
External data sources would add an empty element when the list was optional but
this was not the case when using the internal elements, and things were worked
around when rendering, and inserting, sometimes, the hint as a first element.
This is changed to always have an empty element as first item, and replacing it
with the hint when rendering.