Typeahead adds dot symbol when you type two spaces into the text input

Bug description:

Type any letter followed by two spaces into typeahead text input input.

Expected result: two spaces are typed;

Actual result: on a second space a dot symbol appears.

Link to minimally-working StackBlitz that reproduces the issue:

https://hehveh.run.stackblitz.io

Versions of Angular, ng-bootstrap and Bootstrap:

Angular: 7.0

ng-bootstrap: 4.1.1

Bootstrap: 4.0.0

1 possible answer(s) on “Typeahead adds dot symbol when you type two spaces into the text input

  1. Hello @dKab

    This is not related to ng-bootstrap 😄
    I would assume that you have a Mac, then there is an option, which is inherited from iOS, and activated by default, that does exactly that!

    Have a look in your system preferences → Add period with double-space
    image