-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Multiselet calendar don't update ngModel on unselect date #3876
Comments
I'm unable to replicate the issue. Feel free to attach a screencast. |
I've been waiting for this issue to be resolved as I can also replicate the issue in my project. The link to the plunker in the original issue message above clearly replicates the issue. Here are the steps to replicate the issue of the model not updating:
|
Hi, here is a gif replicating the problem, it follow the steps given by @DRSchallerSS |
I also have the same issue as sgodoy is showning on the gif. |
Does a new issue have to be opened to have this addressed? |
Am always having the same issue ! is there any fix ? |
Friends those who need a quick fix and can't wait upto next update can try this, if (this.isMultipleSelection() && this.isSelected(dateMeta)) { The above solution works for me.. |
Issue is still there. May I know which version this is being resolved in? |
I have tried 4.3.0 and this issue is till there |
This issue just fixed from 5.2.0-rc2, @cagataycivici can you fix it in 4.3.0 please? |
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.
http://plnkr.co/edit/vG1QBJQuTVyEbhQRyM7s?p=preview
Current behavior
Multiselet calendar don't update ngModel when unselect date, until I select another one.
Expected behavior
Unselected date must update ngModel
Minimal reproduction of the problem with instructions
http://plnkr.co/edit/vG1QBJQuTVyEbhQRyM7s?p=preview
1- Select two or more dates
2- Unselect a date
3- Displayed dates don't update
What is the motivation / use case for changing the behavior?
Can't unselect dates if I not select another one after
Please tell us about your environment:
Windows 7, Visual Studio Code.
Angular version:
^4.0.0
PrimeNG version:
^4.2.0-rc.1
Browser:
Chrome 60.0.3112.113 (64 bits)
Firefox 55.0.3 (32-bit)
Language:
TypeScript ~2.3.3
Node (for AoT issues):
node --version
= 8.2.1The text was updated successfully, but these errors were encountered: