adamwathan / bootforms

Rapid form generation with Bootstrap 3 and Laravel.
MIT License
417 stars 103 forks source link

Return Htmlable Expressions #109

Closed Sobak closed 7 years ago

Sobak commented 8 years ago

Hello,

have you thought about returning built-in Expression() object? It is marked as Htmlable so there is no need to use raw tags from Blade. It should be fully backwards-compatible and provide a bit friendlier experience at the same time.

See https://github.com/laravel/framework/pull/13398 for reference/example.

Cheers.

adamwathan commented 7 years ago

This package is not meant to be Laravel-only, so can't rely on Htmlable existing.