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

[v4 beta-3] [bug] Input group button loses border radius if group has invalid feedback #25359

Closed
martinbean opened this issue Jan 18, 2018 · 2 comments

Comments

@martinbean
Copy link
Contributor

I have an input group with a single text input, and a button as a suffix. If I add a class of .is-invalid to the input, and add an .invalid-feedback element to the group, the button suffix loses its border-radius because it’s no longer the last child within the group.

Mark-up:

<div class="input-group">
    <input type="text" name="coupon" id="coupon" class="form-control is-invalid" autofocus required />
    <div class="input-group-append">
        <button type="submit" class="btn btn-primary">Apply coupon</button>
    </div>
    <div class="invalid-feedback">You have already redeemed this coupon.</div>
</div>

Screen-shot:

screen shot 2018-01-18 at 18 23 06

@martinbean martinbean changed the title [v4-beta3][bug] Input group button loses border radius if group has invalid feedback [v4 beta-3] [bug] Input group button loses border radius if group has invalid feedback Jan 18, 2018
@mdo
Copy link
Member

mdo commented Jan 18, 2018

Duplicate of #25110. I'm getting closer with #25352, but might need an extra class to provide all the functionality we want :(.

@mdo mdo closed this as completed Jan 18, 2018
@martinbean
Copy link
Contributor Author

@mdo Ah! I did search Issues first to see if it had already been reported, but missed that one. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants