angular-strap icon indicating copy to clipboard operation
angular-strap copied to clipboard

Typeahead not working with minLength=0 if the input is required

Open d4nielv opened this issue 12 years ago • 3 comments

I am using the bs-typeahead directive with min-length="0" on a input field which also have the required directive. The problem is that the typeahead does not appear on first focus. I need to type something and then delete in order to work on focus. Without required directive, there is no issue. <input required name="NAME" type="text" ng-model="MODEL" data-min-length="0" .../> It happens in Firefox 28 and IE 10.

Could you please give me any solution? Thanks.

d4nielv avatar Apr 07 '14 10:04 d4nielv

reproduced in chrome too

DealerCorp avatar Sep 03 '14 14:09 DealerCorp

Fixed by 5e0544e. Thanks!

mgcrea avatar Oct 21 '14 12:10 mgcrea

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 26 '19 16:01 lock[bot]