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

ffe-account-selector-react: Disregard formatting when searching for account numbers #42

Merged
merged 3 commits into from
Mar 2, 2018

Conversation

wkillerud
Copy link
Contributor

Fixes #6

These changes make sure to apply the same string replace to both the query and the queried. This way we can be sure that formatting doesn't factor into the search.

screen shot 2018-03-01 at 18 30 47

The component expects preformatted input. This change is required to
reproduce #6 locally.
Searches for account numbers no longer have to include spaces to match.
For instance for the account number `1234 56 789101` you can now type
`12345` and still get a match.
@wkillerud wkillerud added the 💎 enhancement Suggested improvements to the design system label Mar 1, 2018
@wkillerud wkillerud changed the title 6 account selector search ffe-account-selector-react: Disregard formatting when searching for account numbers Mar 1, 2018
Copy link
Contributor

@selbekk selbekk left a comment

Choose a reason for hiding this comment

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

Great job ! LGTM!

@wkillerud wkillerud merged commit d4840d1 into master Mar 2, 2018
@wkillerud wkillerud deleted the 6-account-selector-search branch March 2, 2018 14:57
kwltrs pushed a commit that referenced this pull request Mar 7, 2018
ffe-account-selector-react: Disregard formatting when searching for account numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 enhancement Suggested improvements to the design system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants