redux-form-material-ui icon indicating copy to clipboard operation
redux-form-material-ui copied to clipboard

Allow to define onUpdateInput callback same as on original AutoComplete component

Open adam187 opened this issue 8 years ago • 1 comments

Original AutoComplete allows you to define onUpdateInput callback which is triggered when input value changes. For example to fetch remote data based on value and update dataSource with it.

This change allows to do same on this AutoComplete component. It will also bypass rest of arguments to have same signature as in original component function(searchText: string, dataSource: array, params: object) => void

adam187 avatar Jun 25 '17 18:06 adam187

Codecov Report

Merging #158 into master will increase coverage by 6.18%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #158      +/-   ##
=========================================
+ Coverage   76.31%   82.5%   +6.18%     
=========================================
  Files          11      11              
  Lines          38      40       +2     
=========================================
+ Hits           29      33       +4     
+ Misses          9       7       -2
Impacted Files Coverage Δ
src/AutoComplete.js 77.77% <100%> (+34.92%) :arrow_up:
src/Slider.js 100% <0%> (ø) :arrow_up:

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...9045cfd. Read the comment docs.

codecov-io avatar Jun 25 '17 18:06 codecov-io