简体   繁体   中英

Angular material datepicker - add content (close button)

i am trying to add a button to my angular material datepicker. The button should be added in the top right corner and should close the datepicker on click.

Also i am trying to add additional content inside my datepicker. Since i have disabled dates inside my datepicker i want to add some kind of legend which says that gray dates don't hold any data and therefore can't be selected.

Is there any possibility in adding additional divs or buttons?

Thanks

在这种情况下,您需要使用 Angular Material Component Development Kit (CDK) 设计您自己的日期选择器。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM