We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I believe its not possible to add attributes to a field without value. I can push a PR to fix this issue if necessary.
Example :
<select id="select" class="show-tick form-control" name="multipleSelect" multiple>
The text was updated successfully, but these errors were encountered:
You can use select(...)->multiple() for your example.
Sorry, something went wrong.
In case of multiple yes, but how about other attributes without value ? Ex : selectable for usage with 3rd Party javascript.
If you set the value to true, it will add the attribute to the element with no value.
true
select(...)->attrs(['data-custom-attribute' => true]) <select data-custom-attribute ...>...</select>
select(...)->attrs(['data-custom-attribute' => true])
<select data-custom-attribute ...>...</select>
Similarly, if you set the value to false, the attribute will not be added.
false
Hope that helps!
No branches or pull requests
I believe its not possible to add attributes to a field without value.
I can push a PR to fix this issue if necessary.
Example :
<select id="select" class="show-tick form-control" name="multipleSelect" multiple>
The text was updated successfully, but these errors were encountered: