React-big-calendar: showMore message dont work

Created on 19 Jan 2017  Â·  6Comments  Â·  Source: jquense/react-big-calendar

Hello,

I have message prop

let msg = {
  showMore: total => `+${total} ...`
}

and BigCalendar component

           <BigCalendar
                events={this.props.events}
                views={['month', 'agenda']}
                popup={true}
                messages={msg}
                defaultDate={new Date()}
            />

but showMore looks like "+[0-9] more" but i want "+[0-9] ..."

It's bug or I do something wrong?

bug

Most helpful comment

@gsavvid last release was "15 days ago" so still doesn't work :) You need wait for new release :)

All 6 comments

You're right, that's a bug, thanks for reporting! I'll create a fix for it.

@tobiasandersen actually this still doesn't work for me. I can change all the other messages, except for showMore. I'm using react-big-calendar v0.12.3.

@gsavvid last release was "15 days ago" so still doesn't work :) You need wait for new release :)

I saw that the fix for this bug was merged with the master branch, but when I used the code from GitHub, I still couldn't modify the showMore message...

Yep, for me it works great :)

2017-06-01 14:42 GMT+02:00 Diego Muracciole notifications@github.com:

I can't modify the text either. Is there any progress on this?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/intljusticemission/react-big-calendar/issues/274#issuecomment-305481715,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFbnqB2o0_8n7AuxD8797v88gH0bm8ZCks5r_rHHgaJpZM4Ln3tL
.

Is it also possible to fetch the "number of events hidden after click" instead of "number of total events for this date" ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mathieusanchez picture mathieusanchez  Â·  4Comments

ZacharyLangley picture ZacharyLangley  Â·  3Comments

manutenfruits picture manutenfruits  Â·  3Comments

kromit picture kromit  Â·  4Comments

zhming0 picture zhming0  Â·  3Comments