optimistex / ngx-select-ex

Angular based replacement for select boxes
https://optimistex.github.io/ngx-select-ex/
MIT License
111 stars 42 forks source link

add an option to set the autocomplete value for the input field #180

Closed amiram closed 4 years ago

amiram commented 4 years ago

Browsers do not disable autocomplete if you set it to off, for example in Chrome. When you use ngx-select with a list and a search field, once you put the focus on the field, the browser shows its own autocomplete list which covers the list of ngx-select. To disable to list you can use autocomplete="blabla". This pull request allows you to do that.

<ngx-select
     [items]="items"
     optionTextField="textProp"
     optionValueField="valueProp"
     autocomplete="blabla">
</ngx-select>
optimistex commented 4 years ago

@amiram Hi. Thank you for the maintain. I'll check and release it after my vacation, approximately in 2 weeks.

optimistex commented 4 years ago

Released!

amiram commented 4 years ago

Thanks @optimistex !