Skip to content

Input Group Addon #2

Description

@marcleimvs

The bootstrap-converter does not support "input group addon" class conversion.
I came up with a "input-group-addon" solution that might help.
It should be added to inputConverter() function, or somewhere else.

        $('.input-group-addon').each(function() {
            $(this).removeClass('input-group-addon').addClass("input-group-text");
            if ($(this).next().is('input')) {
                $(this).wrap('<div class="input-group-prepend"></div>');
            } else {
                $(this).wrap('<div class="input-group-append"></div>');
            }
        });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions