Closed axyr closed 6 years ago
When adding an 'accept terms' checkbox you can not add a link to a Terms & Conditions page/doc
{{ bs()->formGroup(bs()->checkBox('accept_terms', 'I agree with the <a href="/terms" target="_blank">Terms & Conditions</a>'), '') }}
MarvinLabs\Html\Bootstrap\Elements\CheckBox::label() uses:
MarvinLabs\Html\Bootstrap\Elements\CheckBox::label()
->text($element->description)
This probably can be replaced with : ?
->html($element->description)
Hi
Can you post a PR about this? Change could be made to radio buttons too.
fixed with https://github.com/marvinlabs/laravel-html-bootstrap-4/pull/36
When adding an 'accept terms' checkbox you can not add a link to a Terms & Conditions page/doc
MarvinLabs\Html\Bootstrap\Elements\CheckBox::label()
uses:This probably can be replaced with : ?