This is what I get:
.medium-6.columns
label
| Arrival
input(list='arrival', type='text', placeholder='Arrival', required='', autocomplete='')
datalist#arrival
select(name='arrival')
option
option(value='individual') Individual
option(value='organization') organization
When I put in this:
<div class="medium-6 columns">
<label>Arrival
<input list='arrival' type='text' placeholder="Arrival" required autocomplete />
<datalist id="arrival">
<select name="arrival">
<option></option>
<option value="individual">Individual</option>
<option value="organization">organization</option>
</select>
</datalist>
</label>
</div>
However, the correct rendering should be
.medium-6.columns
label
| Arrival
input(list='arrival', type='text', placeholder='Arrival', required='', autocomplete='')
datalist#arrival
select(name='arrival')
option
option(value='individual') Individual
option(value='organization') organization
The select needs to be indented to make the datalist work, otherwise, the select creates a separate input field when rendered.
Forgive me if the issue is with http://html2jade.org, though it points back to this repo
This is what I get:
When I put in this:
However, the correct rendering should be
The
selectneeds to be indented to make the datalist work, otherwise, theselectcreates a separate input field when rendered.Forgive me if the issue is with http://html2jade.org, though it points back to this repo