oferh / ng2-completer

Angular 2 autocomplete component
http://oferh.github.io/ng2-completer/
MIT License
348 stars 171 forks source link

use defaultvalue if minSearchLength is undefined #402

Open stretau opened 5 years ago

stretau commented 5 years ago

Hi, I'm not sure if its a bug or feature, but if you provide the option "minSearchLength" as undefinied to <ng2-completer> the search won't firing at all.

Would be great if it would work than with default value of 3 like it does if "minSearchLength" is null. Otherwise some error/log would be great ;)

Thx & Regards