Relative Content

Tag Archive for angularangular-materialdatepicker

Angular Datepicker with format MM.yyyy wants to select day

I want to use a datepicker that only accepts month and year. According to Angular Materials I built a function which should close the datepicker after the month has been selected – so that no day can be selected. The first time the datepicker is called (regardless of whether a value has already been saved here) the day is still required. However, when you call it up again it doesn’t.