hsuanxyz / ion2-calendar

📅 A date picker components for ionic2 /ionic3 / ionic4
https://hsuanxyz.github.io/demo/ion2-calendar/
MIT License
555 stars 278 forks source link

1 date multiple event/mark #170

Open msyahidin opened 6 years ago

msyahidin commented 6 years ago

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

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

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

Current behavior: DaysConfig only accept 1 event/mark per date, when multiple event provided only first one will show end emitted through onSelect event

Expected behavior: DaysConfig accept multiple event/mark per date, although shows only the first one, it can emit the rest.

edocabhi commented 5 years ago

I achieved it by doing the following. But it is just for displaying 1 event per line without links to the event.

config = { date: date, marked: true, subTitle: 'abc'+'\n'+'def'+'\n'+'+2', }

MarcosBeGo commented 4 years ago

Same thing happening with the cssClass property.