Level 102
You cannot do that. Use a Javascript lib like select2 that allows stuff like this
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
Please check this link: https://drive.google.com/file/d/1XOt8wY7gLUdRM0ollkdEQIKQKG5wlzZl/view?usp=sharing
I basically trying to place a textbox in the dropdown box. The textbox is for custom variant that you enter.
It is for product variant such as:
This is what I have tried:
Tipe Varian 1:
<select name="tipe_varian" id="cars">
<option value="warna">Warna</option>
<option value="ukuran">Ukuran</option>
<option value=""></option>
<input type="text" name="tipe_custom">
</select>
but It doesn't work.
Any idea how?
Thanks in advance.
Please or to participate in this conversation.