-
Notifications
You must be signed in to change notification settings - Fork 8
Input Group Addon #2
Copy link
Copy link
Open
Description
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>');
}
});
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels