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

Fix onFocus, onBlur events for AutoComplete component #159

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adam187
Copy link

@adam187 adam187 commented Jun 26, 2017

Pass rest of props from input to MaterialUI component, mainly for onFocus, onBlur callbacks to properly trigger @@redux-form/FOCUS @@redux-form/BLUR redux actions.

Without it touched meta will never be set and error message will never show. (at least in my use case)

@codecov-io
Copy link

codecov-io commented Jun 26, 2017

Codecov Report

Merging #159 into master will increase coverage by 0.6%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #159     +/-   ##
=========================================
+ Coverage   76.31%   76.92%   +0.6%     
=========================================
  Files          11       11             
  Lines          38       39      +1     
=========================================
+ Hits           29       30      +1     
  Misses          9        9
Impacted Files Coverage Δ
src/AutoComplete.js 50% <100%> (+7.14%) ⬆️
src/Slider.js 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b26f161...a810223. Read the comment docs.

otherwise redux-form will get value from input target and set wrong value in store
@18601673727
Copy link

Could someone merge this?

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.

3 participants