Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Conversation

dorinsharashov
Copy link

@dorinsharashov dorinsharashov commented Jun 4, 2023

According to the code, initializeWith should be minDateParsed or maxDateParsed is case initialDate is not defined. But, according to operators precedence, the current condition will be ((!initialDate && minDateParsed) || maxDateParsed) while it should be (!initialDate && (minDateParsed || maxDateParsed))

@dorinsharashov dorinsharashov changed the title Update DatesRangeInput.tsx DatesRangeInput: fix initializeWith Jun 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant