form_dropdown() function - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: form_dropdown() function (/showthread.php?tid=76600) |
form_dropdown() function - mjamilasfihani - 05-31-2020 any idea to set the first option become hidden? RE: form_dropdown() function - mjamilasfihani - 05-31-2020 I have done with it, maybe someone need this thread? here the link, I have created a gist in Github Link RE: form_dropdown() function - includebeer - 05-31-2020 And why would you want to hide the first option? RE: form_dropdown() function - campingrhino - 05-31-2020 (05-31-2020, 02:55 PM)includebeer Wrote: And why would you want to hide the first option? It seems that they're using it effectively as a label for the field so it's not pre-filled. RE: form_dropdown() function - mjamilasfihani - 06-01-2020 (05-31-2020, 02:55 PM)includebeer Wrote: And why would you want to hide the first option? I want to set it as label |