Relative Content

Tag Archive for angulardesign-patternsangular-material

How to use an Angular Material Date Picker with a partially applied filter function?

I’ve been trying to create an datepicker/input using Angular Materials date picker component.
I’m iterating over a set of reports and need to create an input for each one, next to it.
Every report has a custom date on it, beyond which a custom filter applies, transforming the allowed dates into basically swiss cheese. In other words the rules are to complex for min/max, and I need to use the filter function for it, and hand it the individual report.