Projet

Général

Profil

Bug #8737

champ "hint" ne remplace pas "---" sur une liste à source JSON

Ajouté par Thomas Noël il y a plus de 8 ans. Mis à jour il y a plus de 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
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

Révision 5c21487c (diff)
Ajouté par Frédéric Péters il y a plus de 8 ans

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.

Historique

#1

Mis à jour par Frédéric Péters il y a plus de 8 ans

  • Assigné à mis à Frédéric Péters
#2

Mis à jour par Frédéric Péters il y a plus de 8 ans

#3

Mis à jour par Thomas Noël il y a plus de 8 ans

Ack

#4

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.
#5

Mis à jour par Thomas Noël il y a plus de 8 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF