We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug
Either there should be a clear button working in all browsers or in none.
In IE: When you focus the datepicker after selecting a date, there is a clear button visible which clears the value
That button doesn't appear in Chrome/Firefox:
<mat-form-field fxFlex="50%"> <input matInput id="dateCreationFrom" name="dateCreationFrom" placeholder="Datum Creatie" (click)="dateCreationFromPicker.open()" [matDatepicker]="dateCreationFromPicker" [(ngModel)]="selectedDateCreationFrom" formControlName="dateCreationFromControl"> <mat-datepicker-toggle matSuffix [for]="dateCreationFromPicker"></mat-datepicker-toggle> <mat-datepicker #dateCreationFromPicker></mat-datepicker> <mat-hint align="start">van</mat-hint> </mat-form-field>
Angular 4.4.6 Angular Material 2.0.0-beta.12 tested in Chrome, Firefox and IE11
The text was updated successfully, but these errors were encountered:
fix(input): remove IE clear icon
cb97a74
Removes IE's native clear icon from inputs, because it makes them inconsistent between browsers. Fixes angular#8076.
@crisbeto shouldn't you add the feature to all browsers, instead of removing it from IE?
Actually I need to write a custom component to add a clear button to the datepicker.
Sorry, something went wrong.
fix(input): remove IE clear icon (#8095)
2fa679b
Removes IE's native clear icon from inputs, because it makes them inconsistent between browsers. Fixes #8076.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
crisbeto
Successfully merging a pull request may close this issue.
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Either there should be a clear button working in all browsers or in none.
What is the current behavior?
In IE: When you focus the datepicker after selecting a date, there is a clear button visible which clears the value
That button doesn't appear in Chrome/Firefox:
What are the steps to reproduce?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.4.6
Angular Material 2.0.0-beta.12
tested in Chrome, Firefox and IE11
The text was updated successfully, but these errors were encountered: