Skip to content

Conversation

@adamviktora
Copy link
Contributor

What: Closes #8905

@patternfly-build
Copy link
Contributor

patternfly-build commented Jun 13, 2023

/** Flag indicating the date picker is disabled. */
isDisabled?: boolean;
/** Flag indicating the date picker is required. */
isRequired?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you rebase. Another PR went in to fix a different issue and it added an API for isRequred and emptyDateText

@adamviktora adamviktora force-pushed the datePickerClearOnReset branch from 711e828 to 0a971ab Compare August 18, 2023 10:14
@adamviktora adamviktora requested a review from tlabaj August 18, 2023 11:11
Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one small comment

@adamviktora adamviktora requested a review from tlabaj August 24, 2023 11:33
Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thatblindgeye thatblindgeye merged commit 4fccdaf into patternfly:main Aug 24, 2023
nicolethoen pushed a commit to Kells512/patternfly-react that referenced this pull request Sep 1, 2023
…y#9267)

* fix(DatePicker): clear error on date reset

* feat(DatePicker): add clear date example to controlled DatePicker

* test(DatePicker): add integration test for clear date

* feat(DatePicker): update clear date logic based on patternfly#9373

* fix(DatePicker): hide error when date cleared and not required + show error when cleared and required

* refactor(DatePicker)

* fix(DatePicker): prop removal
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 this pull request may close these issues.

Bug - DatePicker - Error stays when resetting the date

5 participants