Skip to content
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

How to get the selected dates? #1

Open
DevGayathri1992 opened this issue Oct 31, 2017 · 2 comments
Open

How to get the selected dates? #1

DevGayathri1992 opened this issue Oct 31, 2017 · 2 comments

Comments

@DevGayathri1992
Copy link

render() {
return (
<Calendar
width={(Dimensions.get('window').width)-32}
height={280}
tileHeight={35}
style={{alignSelf: 'center'}}
topbarVisible={true}
datesSelection={'single'}
firstDayOfWeek="monday"
showOtherDates="none"
currentDate={this.state.today}
selectedDates={this.state.dates}
eventsDates={["2016/11/20", "2016/11/29"]}
eventsColor="#9C27B0"
onDateChange={data => {
console.log(data);
}}
onMonthChange={month => {
console.log(month);
}}
/>
)
}
I used this inside my render().
selectedDates={this.state.dates}......{this.state.dates} gives undefined.
I need the selected dates array,but i cant get that.
where i get the selected dates???
Help me ASAP.Thanks in advance

@skorenuk
Copy link

skorenuk commented Nov 3, 2017

@DevGayathri1992 I will lake a look this weekend

@DevGayathri1992
Copy link
Author

any answers??? help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants