When new values are allowed: 1. On blur, add the current input value, so when the user clicks away, it will be automatically added. 2. On tab key press, add the current input value. When new values are NOT allowed: 1. On blur, clear the current input value.