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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to initialize disabled and enable afterwards? #1221

Closed
3 tasks done
leandro-fenoglio-ca opened this issue Jul 17, 2023 · 0 comments
Closed
3 tasks done

How to initialize disabled and enable afterwards? #1221

leandro-fenoglio-ca opened this issue Jul 17, 2023 · 0 comments
Labels

Comments

@leandro-fenoglio-ca
Copy link

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 - clone one of the below:

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

Explanation

I'm initializing Tagify disabled via the disabled attribute on the input (I saw in this old issue that it's possible), and the behavior is correct. But after initialization I want to enable it, in the example I'm trying through the setDisabled(false) method, the look is updated but I'm still unable to add new tags. Would this be a bug? Is there any other way to do it?

Jul-17-2023 14-46-30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants