Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix addons with Bootstrap 4 #600

Merged
merged 4 commits into from
Jan 21, 2021
Merged

Commits on Dec 30, 2020

  1. Fix addons with Bootstrap 4

    Usage with Laravel:
    {{-- Basic input addon --}}
    {!! Former::open()->method('GET') !!}
        {!! Former::text('test2')->append('€') !!}
    {!! Former::close() !!}
    
    {{-- Multiple input addons --}}
    {!! Former::open()->method('GET') !!}
        {!! Former::text('test3')->append(['€', 'second']) !!}
    {!! Former::close() !!}
    
    {{-- Button addon --}}
    {!! Former::open()->method('GET') !!}
    {!! Former::text('test4')->append('<button class="btn">OK</button>')
    !!}
    {!! Former::close() !!}
    
    {{-- Button addons --}}
    {!! Former::open()->method('GET') !!}
    {!! Former::text('test5')->append(['<button
    class="btn">OK</button>', '<button class="btn">2</button>']) !!}
    {!! Former::close() !!}
    
    Credits: @mrextreme
    
    Reference:
    formers#581 (comment)
    tortuetorche committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    fd9e5cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98a04dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2dde261 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2021

  1. Configuration menu
    Copy the full SHA
    00ce787 View commit details
    Browse the repository at this point in the history