Uploaded image for project: 'Forms'
  1. Forms
  2. FORMS-267

If the placeholder field is empty two options useless are created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.10.0, 2.0.0
    • 1.9.0, 2.0.0
    • None
    • None
    • FF

      How to reproduce :

      • in a form, insert a select field
      • Do not define any placeholder, do not declare this one as mandatory field
        <select id="Ametys_Gen_2" name="select1" style="width: 100px;"><option disabled="disabled" selected="selected"></option><option>&nbsp;</option><option value="valeur_1">Choix affiché 1</option><option value="valeur_2">Choix affiché 2</option><option value="valeur_3">Choix affiché 3</option></select>

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: