ejmudi / react-autocomplete-hint

A React component for Autocomplete Hint.
https://ejmudi.github.io/react-autocomplete-hint/
MIT License
164 stars 16 forks source link

Add support to auto fill hint if user presses Enter #36

Closed RitchieVincent closed 2 years ago

RitchieVincent commented 2 years ago

Fairly self-explanatory, adds support for pressing Enter to auto fill, as the ArrowRight or Tab key does. Enabled by boolean property, like the Tab functionality.

codecov[bot] commented 2 years ago

Codecov Report

Merging #36 (ba1636e) into master (40fd3bc) will decrease coverage by 1.34%. The diff coverage is 50.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##            master      #36      +/-   ##
===========================================
- Coverage   100.00%   98.65%   -1.35%     
===========================================
  Files            2        2              
  Lines          145      149       +4     
  Branches        46       47       +1     
===========================================
+ Hits           145      147       +2     
- Misses           0        2       +2     
Impacted Files Coverage Δ
src/index.tsx 98.36% <50.00%> (-1.64%) :arrow_down:

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 40fd3bc...ba1636e. Read the comment docs.

ejmudi commented 2 years ago

Resolved comments in https://github.com/ejmudi/react-autocomplete-hint/pull/43 Closing!