Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

DatePickerInput: fixed clearing logic #2464

Merged
merged 6 commits into from
Nov 23, 2022
Merged

DatePickerInput: fixed clearing logic #2464

merged 6 commits into from
Nov 23, 2022

Conversation

qubis741
Copy link
Contributor

@qubis741 qubis741 commented Nov 23, 2022

Description

  • pass empty string to onChange if input is empty
  • improve clearing and displaying logic of clear indicator

Manual Check

  • on clearing of input value by removing text (not clicking on clear), clear indicator disappears
  • on clearing of input value by removing text (not clicking on clear), empty string is passed to onChange

@qubis741 qubis741 changed the title DatePickerInput: improved clearing logic DatePickerInput: fixed clearing logic Nov 23, 2022
@qubis741
Copy link
Contributor Author

On hold until #2465 (review)

@KristofColpaert
Copy link
Contributor

MC ok 👌

JorenSaeyTL
JorenSaeyTL previously approved these changes Nov 23, 2022
@qubis741 qubis741 merged commit b54ede7 into next-release Nov 23, 2022
@qubis741 qubis741 deleted the FRAF-1154-v6 branch November 23, 2022 15:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants