marvinlabs / laravel-html-bootstrap-4

Bootstrap 4 fluent HTML builder
MIT License
42 stars 15 forks source link

Offer access to direct attributes of wrapped controls #28

Closed vpratfr closed 6 years ago

vpratfr commented 6 years ago

For example custom checkboxes, custom files, custom radios, etc.

There is no way to set an attribute on the wrapped element.

Maybe via magic __call

Something like controlAttribute, controlAddClass, etc.