Okipa / laravel-bootstrap-components

Ready-to-use and customizable form components.
MIT License
20 stars 3 forks source link

Replace ->icon() by ->prepend() and ->append() methods #8

Closed Okipa closed 5 years ago

Okipa commented 5 years ago

Replace the ->icon() method by ->prepend() and ->append() that will accept a string or a closure as argument.

Okipa commented 5 years ago

If nor ->prepend() either ->append() are called, purify generated html from input-group elements.

Okipa commented 5 years ago

Done in https://github.com/Okipa/laravel-bootstrap-components/pull/15