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
selected dates are not updating when i get from server #1
Comments
|
Thanks |
SomeCalendar(
It is not showing selected dates coming from server, when ever I hot restart then it comes |
please update to some_calendar: ^1.1.3 i've fix a bug |
Thank you i will see this |
@agryva I checked that still it is not showing me the dates, if i have already built a calendar and set selected dates after building the calendar, it does not get update ??? |
variable 'bookedDates' is list a datetime ? |
yes of course it is list of dateTime, but i assign it to selectedDates: when calendar has built. |
"I am not opening your calendar in dialog" |
My friend my requirement is not to open calendar in dialog. Can you help me without dialog. |
@AbdulBasitSaleem please update to "some_calendar: ^1.2.0" i've fix a bug and please to see the Readme. Thanks |
Good work @agryva. I will give you feedback about this. Thank you so much |
@agryva, Thank you for this calendar.
|
@agryva Please see this code, What i am trying to achieve. May be you get to know. It will be highly
|
Hello @agryva
SomeCalendar(
mode: SomeMode.Multi,
startDate: Jiffy().subtract(years: 3),
lastDate: Jiffy().add(months: 9),
selectedDates: selectedDates,
done: (date) {
setState(() {
selectedDates = date;
showSnackbar(selectedDates.toString());
});
},
onTapFunction: (selectedDate) {
print(selectedDate);
},
));
I get 'selected dates' from server,when i got these dates and set it to the calendar, with setState(){};
It did not update the UI. Please also guide me that how can i remove selected date from the list when i tap on that date, If it is already selected
I don't want to show it as dialog
Thanks
The text was updated successfully, but these errors were encountered: