Welcome Guest, Not a member yet? Register   Sign In
form_dropdown() function
#1

(This post was last modified: 05-31-2020, 05:14 AM by mjamilasfihani.)

any idea to set the first option become hidden?
Reply
#2

I have done with it, maybe someone need this thread? here the link, I have created a gist in Github Link
Reply
#3

And why would you want to hide the first option?
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#4

(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.
WebDevZone - A new, friendly web development community
Reply
#5

(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
Reply




Theme © iAndrew 2016 - Forum software by © MyBB