Dropdown options are not rendered properly in the new Declarative Directive Generator.
Steps to reproduce:
1. Go to Manage Jenkins
>Global Tool Configuration>Gradle Installations and then add two or more random Gradle versions.
2. Create a Pipeline job and go to the Pipeline Syntax section at /job/PipelineName/directive-generator/.
3. Click on Declarative Directive Generator
4. Select tools: Tools from the dropdown menu.
5. Add Gradle.
You'll notice that the Version drop down has multiple items in it, but the display value is empty. If you choose one and click Generate Declarative Directive you'll notice that it will have the name of the Gradle versions you added previously depending on which empty dropdown item you choose.
The HTML sets a value for the option element, but doesn't seem to also include the name string in the <option>NAMESHOULDBEHEREBUTISNT</option> element.