Skip to content
New issue

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

Add html content to bottom of DatePicker #1387

Closed
skendrot opened this issue Mar 19, 2017 · 2 comments
Closed

Add html content to bottom of DatePicker #1387

skendrot opened this issue Mar 19, 2017 · 2 comments

Comments

@skendrot
Copy link

Feature description: Add ability to add content to bottom of calendar view

Would be great to allow the capability to add content to the bottom of the calendar view.

Example:
Add a checkbox to override the minimum date:
image

@pkozlowski-opensource
Copy link
Member

This is an "approximate duplicate" of #1197 in the sense that #1197 talks about adding new functionality to datepicker's footer. We just don't want to add a separate config option for each and every button that could be added to the footer - this would quickly "explode" public API.

What we would like to do instead is to provide people with ability to provide a template that would be inserted as a custom footer.

I'm going to close this one as a duplicate of #1197 - could you please comment in there with your precise use-case (I'm not sure what you would like to achieve via "Override minimum date" exactly). I'm also going to move parts of this comment over to #1197

@skendrot
Copy link
Author

skendrot commented Mar 20, 2017

This request is a broad request to allow any content to the bottom. The example given is just an example of adding some content to the bottom. This example would allow for removing the minimum date on the DatePicker by triggering a method in your angular code that would clear the MinDate. This request is exactly as you stated "provide a template that would be inserted as a custom footer" just not in those exact words.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants