Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Question about Form::select
I would like to make following select form with additional data.
<option value="title1" data-text="ABCDEDG....">SELECT1</option>
<option value="title2" data-text="HJKNPQED....">SELECT1</option>
Is that possilbe to do using Form::select?
It expects a key->value array, with provides the value and the display text of the option tag.
I've looked at the code, but haven't seen a way to easily implement this, without seriously breaking the API.
Thanks for your comment.
That's what I expect.
So, in this case, I had better generate HTML by myself with strip_tags.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion