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

Style is break while using input which type is date and class is form-control in input-group #22017

Closed
lzp401 opened this issue Feb 17, 2017 · 1 comment
Labels

Comments

@lzp401
Copy link

lzp401 commented Feb 17, 2017

Hi,

I'm using bs4 alpha6

Following is my code
<div class="form-group col-lg-6">
<label class="col-form-label col-sm">Search Date</label>
<div class="input-group col-sm px-0">
<input class="form-control py-0" type="date" formControlName="startDate">
<span class="input-group-addon">To</span>
<input class="form-control py-0" type="date" formControlName="endDate">
</div>
</div>

Here is the screenshot
screen shot 2017-02-17 at 12 57 26 pm

The input element is totally broken and I can't input anything in it.

To work round with this issue, I removed input-group class and added d-flex to let my field stay horizontally.

@bardiharborow
Copy link
Member

Closing as a duplicate of #21651.

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

No branches or pull requests

2 participants