Will Howell

Results 30 comments of Will Howell

@jeroenvanagt try this ```html ... ``` ```ts @ViewChild('f') myNgForm; reset() { this.myNgForm.resetForm(); } ``` http://plnkr.co/edit/sRCiYvRqGevK493w79A4?p=preview

@jeroenvanagt Error state is calculated like this: ```ts isInvalid && (isTouched || isSubmitted) ``` Unfortunately, resetting the FormGroup isn't enough. You'll need to reset the submitted state of the actual...

@goelinsights I may be mistaken but manually removing classes is not the recommended workaround. I'll summarize here: 1. Submitted state is based on the [`FormGroupDirective`](https://angular.io/api/forms/FormGroupDirective) or the [`NgForm`](https://angular.io/api/forms/NgForm) (depending on...

Maybe something like this will help in the mean time https://stackblitz.com/edit/material2-beta12-fpf2ka?file=app%2Fapp.component.ts

What would the select options text be? Page numbers or item ranges? Configurable via `MatPaginatorIntl`?

Unfortunately that isn't yet supported. I'm not aware of any possible workaround in the mean time, but I expect it won't be too difficult to implement!

This has turned out to be a lot harder than I imagined 😓 I initially tried investigating ways to declare the animation from an injection token's value, but as far...

@garethharding for a workaround you could use something like this... Note that it would apply to _all_ popovers in your application and could be subject to break in future versions:...

@fxck I never filed an issue for it. I figure support for https://github.com/angular/angular/issues/13764 would allow you to do something like this ```ts @Component({ ...inherited, animations: [customAnimation], }) class CustomPopover extends...

Yeah I'm afraid that's a problem in the cdk's overlay service (as I saw you noted in https://github.com/angular/material2/issues/9334). I know the material folks have been looking into it for a...