Sharlaan / material-ui-superselectfield

multiselection autocomplete dropdown component for Material-UI
https://sharlaan.github.io/material-ui-superselectfield
MIT License
266 stars 92 forks source link

Automatically Focus the AutoComplete when it Renders #103

Closed jwmann closed 6 years ago

jwmann commented 6 years ago

Fixes Sharlaan/material-ui-superselectfield#101

As an aside: I was wondering if you'd be interested in a new feature I'd like to develop. Add a new prop called showMenu or something that make more sense to you guys. It will default to auto and will function exactly as before But you can pass always so that the menu always shows regardless of how many items are in the list.

This is to support the ability make API calls based on the input of the autoComplete and dynamically load in list options.

codecov-io commented 6 years ago

Codecov Report

Merging #103 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #103   +/-   ##
======================================
  Coverage    39.5%   39.5%           
======================================
  Files           6       6           
  Lines         200     200           
======================================
  Hits           79      79           
  Misses        121     121
Impacted Files Coverage Δ
src/SuperSelectField.js 36.2% <ø> (ø) :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 f40f2cb...f4debb4. Read the comment docs.