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

Kalendar Endlos, daySelectionMode: Incorrect selection #172

Open
lbuckl opened this issue Mar 28, 2024 · 0 comments
Open

Kalendar Endlos, daySelectionMode: Incorrect selection #172

lbuckl opened this issue Mar 28, 2024 · 0 comments

Comments

@lbuckl
Copy link

lbuckl commented Mar 28, 2024

If U choice of past number and future - selection is correct
If U choice of future number and past - selection incorrect (absent)

video_2024-03-28_13-52-14.mp4
@lbuckl lbuckl changed the title Kalendar Endlos Documentation, daySelectionMode: Incorrect selection Kalendar Endlos, daySelectionMode: Incorrect selection Mar 28, 2024
yogeshpaliyal added a commit to yogeshpaliyal/Kalendar that referenced this issue Aug 14, 2024
Fixes hi-manshu#172

Add handling for `RangeSelectionError.EndIsBeforeStart` in `onDayClicked` function.

* **Import RangeSelectionError**
  - Import `RangeSelectionError` in `kalendar-endlos/src/main/java/com/himanshoe/kalendar/endlos/util/DayClick.kt`.

* **Add onErrorRangeSelected parameter**
  - Add `onErrorRangeSelected` parameter to `onDayClicked` function.

* **Handle end date before start date**
  - Add a condition to trigger `onErrorRangeSelected(RangeSelectionError.EndIsBeforeStart)` when the end date is before the start date.
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

Successfully merging a pull request may close this issue.

1 participant