-
Notifications
You must be signed in to change notification settings - Fork 109
After updating project to Angular 10.1.0 #157
Comments
Okay, as a temporary fix I added |
Updated angular material from version 9 to version 10.2.0 and got the exact same error as mentioned by @paco76. |
Had the same issue after updating to angular 10.1. |
Had the same bug, just added the missing property inside 'datepicker.d.ts'. |
I switched to default mat-datepicker. https://material.angular.io/components/datepicker/overview#date-range-input-forms-integration |
I see the fix has been merged. Any would you please publish the update? |
please publish the update |
Pls mention if this merge is published |
Same issue after updating, please merge the update. |
I would prefer using the angular material date range picker as @itstueben |
I assume that this PR has not been merged? |
Hi, any news here? |
Anybody knows when will be publish the fix update? |
When someone makes a pr with working building process. I can't find a time to compile an ng library for new angular verison |
Hi @SaturnTeam, Is this lib still maintained or should we move on the new material date range picker? Thx |
the same issue after updating to angular 10.2 |
@sabrinaToulouse It's better to move to Angular Material |
Can you explain how to do this? |
@AlonsoK28 go here /node_modules/saturn-datepicker/datepicker.d.ts and find the following line of code and add the line
save and |
Bump on the when can this be merged in. This is a simple fix & the temporary fix is only going to resolve the issue for those who are checking in contents of node modules |
@paco76 when I go to this file all I see is: `/**
//# sourceMappingURL=saturn-datepicker.d.ts.map` Any ideas? Can't get rid of this 'defaultColor' error... |
@AlonsoK28 |
@paco76 no I really am in saturn-datepicker.d.ts The contents of the .map file is:
|
In case anyone else is trying this, the small thing that threw me in @paco76 's suggested fix was the file path quoted: /node_modules/saturn-datepicker/datepicker.d.ts Actually it was: /node_modules/saturn-datepicker/datepicker/datepicker.d.ts Small thing but it threw me because there is a saturn-datepicker.ts file at the stated file-path. Anyway once I added the suggested line to the correct file this fix worked for me so thanks @paco76 ! |
i have the same problem. |
Not sure and will verify tomorrow. But I got the feeling there are 2 published packages: saturn-datepicker |
And it seems that @angular/material v11.2.2 now offers to pick a range: https://material.angular.io/components/datepicker/overview#date-range-selection |
I confirm. I used the npm package saturn-datepicker-ext instead of saturn-datepicker and everything is working fine on my end. |
After updating my Angular project to the latest version 10.1.0 I get the following error..
Class 'SatDatepicker' incorrectly implements interface 'CanColor'.
Property 'defaultColor' is missing in type 'SatDatepicker' but required in type 'CanColor'.
someone else ?
The text was updated successfully, but these errors were encountered: