ion2-calendar icon indicating copy to clipboard operation
ion2-calendar copied to clipboard

Selected Date gets Unselected

Open papuruth opened this issue 5 years ago • 2 comments

Ionic version: (check one with "x") [ ] 2.x [ ] 3.x [x] 4.x

Ion2-calendar mode: (check one with "x") [ ] components mode [x] modal mode

I'm submitting a ... (check one with "x") [ ] bug report [ ] feature request [x] help me

Current behavior:

When ever I select a date and close the modal the date gets selected but when I reopen the modal the selected date is not hilighted. Expected behavior:

I want the date to be selected untill I reload/refresh the page. Steps to reproduce:

Related code:

insert short code snippets here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

Ionic:

   Ionic CLI                     : 5.4.5 (/home/d-Evil/.nvm/versions/node/v10.16.3/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.11.4
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.2.4
   @ionic/angular-toolkit        : 1.3.0

Cordova:

   Cordova CLI       : 9.0.0 ([email protected])
   Cordova Platforms : android 8.1.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 3.1.2, (and 23 other plugins)

Utility:

   cordova-res : not installed
   native-run  : 0.2.9 

System:

   Android SDK Tools : 26.1.1 (/home/d-Evil/Android/Sdk)
   NodeJS            : v10.16.3 (/home/d-Evil/.nvm/versions/node/v10.16.3/bin/node)
   npm               : 6.11.3
   OS                : Linux 4.15

papuruth avatar Nov 15 '19 05:11 papuruth

Hi Papuruth,

I have a similar issue in component mode, whenever I refresh the calendar view (changing style of dayList etc...) and used a "SetTimeOut()".

Have you found a resolution to "force-display" the selected day?

Thanks for your help!

Best regards, Radious

radious15 avatar Dec 26 '19 13:12 radious15

I too have the same issue. Any solution you have found out?

Please help me out, rest of the things are perfectly fine.

Thanks in advance.

PriyaAgr11 avatar Feb 19 '20 10:02 PriyaAgr11