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

[NDS-807] fix: select backspace does not clear value [v5] #674

Conversation

kostasdano
Copy link
Collaborator

@kostasdano kostasdano commented Sep 26, 2023

Description

NDS-807

In this PR:

  • the Backspace issue is resolved: when Backspace is clicked on SingleSelect while the input value equals the selected option's label, then the Select will be cleared (that also fixes the issue of non-searchable Select where you cannot clear the field)
  • as implemented on v4, the empty state of Select from now on is undefined ; so when the field is cleared, the onChange is called with undefined as an argument.
  • Typos are fixed.
  • Async Select Showcase wasn't working properly; now it's fixed.

@kostasdano kostasdano marked this pull request as ready for review September 26, 2023 11:24
@kostasdano kostasdano requested a review from a team as a code owner September 26, 2023 11:24
@kostasdano kostasdano merged commit eb363f7 into feat/NDS-701_textfields_v5 Sep 27, 2023
5 checks passed
@kostasdano kostasdano deleted the fix/NDS-807_select_backspace_does_not_clear_value_v5 branch September 27, 2023 11:01
@orfium-sonarqube-app
Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition C Maintainability Rating on New Code (is worse than A)

See analysis details on SonarQube

Fix issues before they fail your Quality Gate with SonarLint SonarLint in your IDE.

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.

2 participants