Comments (11)
My bad. I'll try to fix now or tommorow
from saturn-datepicker.
try 6.1.1. if it's not working, please create a demo https://stackblitz.com/edit/angular-4cfnyl
from saturn-datepicker.
Sorry, but it's still not working. Now, the entire datepicker box that opens is empty.
I created a demo - basically an exact copy of material design's customized header.
(https://material.angular.io/components/datepicker/overview#customizing-the-calendar-header): See
https://stackblitz.com/edit/angular-zxjajr
Thanks for your help! It's much appreciated.
from saturn-datepicker.
example from angular material not working too :)
You forgot to configure NgModule and import class from saturn-datepicker
here is working example:
https://stackblitz.com/edit/angular-ecwjqo?file=src/app/app.module.ts
from saturn-datepicker.
Thank you!
from saturn-datepicker.
Is there a way to EDIT the calendarHeader component, rather than REPLACE it entirely? [Or, alternatively, is it possible to reuse the date selection (dropdown and fwd/bck navigation for months) in my replacement header component? (I don't want to have to rewrite that)]
I am trying to add a simple toggle switch to the calendar header (yes, it has to be in the calendar component).
from saturn-datepicker.
No, but you can copy-paste source code of original header
from saturn-datepicker.
There's no way of extending SatCalendarHeader or MatCalendarHeader?
from saturn-datepicker.
Extending components is not thing that angular can do now (if I remember correctly).
from saturn-datepicker.
Update: I did extend SatCalendarHeader on my customHeaderComponent and it works like a charm.
Thanks!
from saturn-datepicker.
I have a similar Problem, I am trying to implement the calenderHeaderComponent from an existing mat datepicker into a sat datepicker. but the pop-up showing up blank white. the error on console is :
ERROR Error: StaticInjectorError(AppModule)[ExampleHeader -> MatCalendar]:
StaticInjectorError(Platform: core)[ExampleHeader -> MatCalendar]:
NullInjectorError: No provider for MatCalendar!
at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get
any Advice! Thanx 👍
from saturn-datepicker.
Related Issues (20)
- Any plan to upgrade to Angular 9 HOT 1
- How to get the opened status when I use the saturn date-picker?
- DateAdapter, First Day of week
- Is it possible to hide the grey highlighting of the current date?
- [Features] Give possibility to set the selection range HOT 1
- 'Same date' selection issue
- Access date-picker css
- Inline Date picker default range selection input HOT 1
- After updating project to Angular 10.1.0 HOT 28
- After updating to @angular/material 10.2.0 - datepicker.d.ts - Class SatDatepicker not implements interface CanColor HOT 1
- The Month and Year is not displaying as selected. HOT 2
- Add option to display number of week
- Release 8.0.6 no published HOT 11
- Typescript error `Class 'SatDatepicker<D>' incorrectly implements interface 'CanColor'` HOT 1
- ERROR TypeError: date.getTime is not a function HOT 1
- Is it possible to pre-select the date range (begin and end date) in Inline Calendar? HOT 1
- Setting width & height to .sat-calendar is not working
- Problem when typing the date in the input HOT 1
- Is it possible to split the date-range-picker in half and take input[Start,End] from two separate date pickers?
- Error in stackblitz demo case for the Custom Footer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saturn-datepicker.