Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

Custom attribute for each option #142

Open
ImArtur opened this issue Nov 9, 2017 · 0 comments
Open

Custom attribute for each option #142

ImArtur opened this issue Nov 9, 2017 · 0 comments

Comments

@ImArtur
Copy link

ImArtur commented Nov 9, 2017

I have this code:
{!! BootForm::select( trans('project.client'), "client_id")->options($clients->mapForSelectForm())->select($project->client ? $project->client->getRouteKey() : null) !!}

Is it possible to add extra attribute to each option?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant