I am in need of a specific feature for my website. Currently, I have implemented a basic select element but I want to add the option for users to input a range as the last item. Here is an example of what I'm trying to achieve:
<select>
<option>0-9</option>
<option>10-19</option>
<option>20-29</option>
<option>
<input type="number" name="min" min="0" max="30"/>
<input type="number" name="max" min="0" max="30"/>
</option>
</select>
Unfortunately, this setup does not work as intended. Does anyone have any suggestions on how to properly implement this feature? Perhaps there is a different approach that would work better?