Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selected tag disappears after the input loses focus when in select mode #1056

Closed
3 tasks done
dumbasPL opened this issue Jul 5, 2022 · 1 comment
Closed
3 tasks done
Labels
Bug: high priority High priority bug

Comments

@dumbasPL
Copy link
Contributor

dumbasPL commented Jul 5, 2022

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

馃挜 Demo Page

https://jsbin.com/honocaqita/1/edit?html,js,output

Steps to reproduce (using the above demo)

  • click on the tagify input

  • select any tag from the list

  • remove focus from the input by clicking anywhere else on the page

Explanation

  • What is the expected behavior?
    The selected tag stays selected

  • What is happening instead?
    The tag disappears after the field loses focus

  • What error message are you getting?
    none

@dumbasPL
Copy link
Contributor Author

dumbasPL commented Jul 5, 2022

After some further digging this problem only occurs when enforceWhitelist is set to false.
From what I understand setting enforceWhitelist while in select mode should make it behave like a fancy text input with suggestions. It used to function like that up to 4.10.0, 4.11.0 broke this functionality.

@yairEO yairEO added the Bug: high priority High priority bug label Jul 9, 2022
@yairEO yairEO closed this as completed in a8b5d2a Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: high priority High priority bug
Projects
None yet
Development

No branches or pull requests

2 participants