bootforms
bootforms copied to clipboard
New option to customize the css inside the addon component
If we want to add a custom css to the input-group-addon:
<div class="input-group">
<input type="text" name="example2">
<span class="input-group-addon newCss1 newCss2">@domain.com</span>
</div>
Using something like this:
$input->afterAddon('@domain.com')->addAddonCss('newCss1')->addAddonCss('newCss2');
Coverage increased (+0.2%) to 91.071% when pulling 84064ce4eee6a33cf12cde6abb4af4904e585dbc on daguilarm:master into f358440d6303514256159a1da021ff39f732eb3f on adamwathan:master.
Coverage increased (+0.2%) to 91.071% when pulling 252a83e4675ebd2b8d193426c51a23e19d0c3fd2 on daguilarm:master into f358440d6303514256159a1da021ff39f732eb3f on adamwathan:master.