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

Unable to retrieve text value in Search component onChange #368

Closed
Girbons opened this issue Dec 23, 2020 · 1 comment
Closed

Unable to retrieve text value in Search component onChange #368

Girbons opened this issue Dec 23, 2020 · 1 comment
Assignees

Comments

@Girbons
Copy link

Girbons commented Dec 23, 2020

Detailed description

Accessing Search component value through onChange prop returns NaN when using text due to this https://github.com/wfp/ui/blob/master/src/components/Search/Search.js#L48.

Is this issue related to a specific component?

Search component

What version of the WFP UI (Carbon Design System) are you using?

v1.11.0

@Utzel-Butzel Utzel-Butzel self-assigned this Jan 4, 2021
Utzel-Butzel added a commit that referenced this issue Jan 4, 2021
fix(Search): onChange was returning a wrong target value (#368)
Utzel-Butzel pushed a commit that referenced this issue Jan 4, 2021
## [1.11.1](v1.11.0...v1.11.1) (2021-01-04)

### Bug Fixes

* **Form:** reverted top padding spacing to previous on error message in Form component ([81d1243](81d1243))
* **package:** lock file updated ([a9966cc](a9966cc))
* **ReactSelect:** reduced top margin of dropdown to hide required error message ([5d06c84](5d06c84))
* **Search:** onChange was returning a wrong target value ([#368](#368)) ([6a779e2](6a779e2))
@Utzel-Butzel
Copy link
Collaborator

Utzel-Butzel commented Jan 4, 2021

Fixed in https://www.npmjs.com/package/@wfp/ui/v/1.11.3 (next tag) Thanks for pointing out! :)

Utzel-Butzel added a commit that referenced this issue Jan 4, 2021
fix(Search): onChange was returning a wrong target value (#368)
Utzel-Butzel pushed a commit that referenced this issue Jan 4, 2021
# [1.11.0](v1.10.20...v1.11.0) (2021-01-04)

### Bug Fixes

* **Search:** onChange was returning a wrong target value ([#368](#368)) ([d422086](d422086))

### Features

* **package:** trigger release ([cbabcd3](cbabcd3))
Utzel-Butzel pushed a commit that referenced this issue Jan 4, 2021
# [1.11.0](v1.10.20...v1.11.0) (2021-01-04)

### Bug Fixes

* **Search:** onChange was returning a wrong target value ([#368](#368)) ([d422086](d422086))

### Features

* **package:** trigger release ([cbabcd3](cbabcd3))
Utzel-Butzel pushed a commit that referenced this issue Jan 4, 2021
# [1.11.0](v1.10.20...v1.11.0) (2021-01-04)

### Bug Fixes

* **package:** manual version bump ([c1b0185](c1b0185))
* **Search:** onChange was returning a wrong target value ([#368](#368)) ([d422086](d422086))

### Features

* **package:** trigger release ([cbabcd3](cbabcd3))
Utzel-Butzel added a commit that referenced this issue Jan 11, 2021
* origin/next:
  chore(release): 1.11.4 [skip ci]
  fix(Slider): fullWidth prop works now (#375), Footer accepts custom components for Logos
  chore(release): 1.11.3 [skip ci]
  fix(package): description changed
  chore(release): 1.11.0 [skip ci]
  fix(package): manual version bump
  chore(release): 1.11.0 [skip ci]
  chore(release): 1.11.0 [skip ci]
  fix(Search): onChange was returning a wrong target value (#368)
  chore(release): 1.11.0 [skip ci]

# Conflicts:
#	CHANGELOG.md
#	package-lock.json
#	package.json
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

No branches or pull requests

2 participants