Giter Site home page Giter Site logo

Comments (25)

eyoeldefare avatar eyoeldefare commented on May 29, 2024 3

Apologize for

@eyoeldefare thank you so much, please let me know if you push an update. Keep doing great work mate!

Hi! Did you able to use the package later? or use any other package?

Hey sorry about that. I am working on it. I will have a new version out before this saterday that will fix this. Also with major updates to make this package super customizable.

from textfield_tags.

eyoeldefare avatar eyoeldefare commented on May 29, 2024 2

Seems like I should have left that for users to call dispose on it instead of doing that internally. I will fix it soon

from textfield_tags.

eyoeldefare avatar eyoeldefare commented on May 29, 2024 2

This is what I suspected.
You guys are calling dispose on the TextEditingController property in your own component class. Why would you do that? You know the TextFieldTags widget is taking your controller as a parameter. We're disposing all properties we take in as parameters inside the widget so no need to dispose of it from your side.

from textfield_tags.

motasimfuad avatar motasimfuad commented on May 29, 2024 1

I will keep this open to see if this issue persists.

Thanks man!

IMG_20220327_024012.jpg

from textfield_tags.

fokoz avatar fokoz commented on May 29, 2024

@eyoeldefare thank you so much, please let me know if you push an update. Keep doing great work mate !

from textfield_tags.

motasimfuad avatar motasimfuad commented on May 29, 2024

Got stuck on this issue. :/

from textfield_tags.

motasimfuad avatar motasimfuad commented on May 29, 2024

@eyoeldefare thank you so much, please let me know if you push an update. Keep doing great work mate!

Hi! Did you able to use the package later? or use any other package?

from textfield_tags.

eyoeldefare avatar eyoeldefare commented on May 29, 2024

@eyoeldefare thank you so much, please let me know if you push an update. Keep doing great work mate !

Hey sure. I think I have enough free-time now to really work on this package and make it somehow production grade package. I will push a major fix and upgrade to the overall package before Saturday.

from textfield_tags.

abdugaliyev avatar abdugaliyev commented on May 29, 2024

Damn, i get this error...

from textfield_tags.

Nish1312 avatar Nish1312 commented on May 29, 2024

Hey @eyoeldefare... Getting the same issue... Is there any temporary solution until you fix this??

from textfield_tags.

eyoeldefare avatar eyoeldefare commented on May 29, 2024

Hey yeah, last version doesn't have this issue. You can downgrade till this saterday.

from textfield_tags.

abdugaliyev avatar abdugaliyev commented on May 29, 2024

Hey yeah, last version doesn't have this issue. You can downgrade till this saterday.

downgrade doesn't help

from textfield_tags.

Nish1312 avatar Nish1312 commented on May 29, 2024

Hey yeah, last version doesn't have this issue. You can downgrade till this saterday.

Hey yeah, last version doesn't have this issue. You can downgrade till this saterday.

downgrade doesn't help

It worked in my case. Thanks @eyoeldefare .

@abdugaliyev make sure you are not using '^' with package version while downloading.

from textfield_tags.

eyoeldefare avatar eyoeldefare commented on May 29, 2024

I will keep this open to see if this issue persists.

from textfield_tags.

parsadoc avatar parsadoc commented on May 29, 2024

I downgrade the package to version 1.4.2 and it works for me

...
 textfield_tags: '1.4.2'
...

from textfield_tags.

gorkemsari avatar gorkemsari commented on May 29, 2024

Any updates?

from textfield_tags.

jerrypaulsam avatar jerrypaulsam commented on May 29, 2024

Any updates?

from textfield_tags.

eyoeldefare avatar eyoeldefare commented on May 29, 2024

This was solved as far as I see. What issues are you guys experiencing in this regard?

from textfield_tags.

jeprojects avatar jeprojects commented on May 29, 2024

@eyoeldefare Getting this when using with RawAutocomplete:

A TextEditingController was used after being disposed.

The error stack is pointing to your dispose method in the controller:

textEditingController!.dispose();

from textfield_tags.

eyoeldefare avatar eyoeldefare commented on May 29, 2024

Hey @jeprojects what version of the package are you using?
Also what version of flutter are you using?
From my understanding, this issue was solved almost a year ago.

from textfield_tags.

jeprojects avatar jeprojects commented on May 29, 2024

@eyoeldefare
Flutter 3.3.5
textfield_tags: ^2.0.2

from textfield_tags.

eyoeldefare avatar eyoeldefare commented on May 29, 2024

Can you please post example of the code you've used. I want to know why you're seeing this. This was happening last time because the component was being destroyed before an asynchronous operations was finished that utilizes internal methods.

from textfield_tags.

RoyalCoder88 avatar RoyalCoder88 commented on May 29, 2024

Hi friends, have the same issue with A TextEditingController was used after being disposed.

Only on the Autocomplete example, did someone fix this issue?
Thanks in advance!
Screenshot 2023-02-03 152316

from textfield_tags.

Luckey-Elijah avatar Luckey-Elijah commented on May 29, 2024

This is what I suspected.
You guys are calling dispose on the TextEditingController property in your own component class. Why would you do that? You know the TextFieldTags widget is taking your controller as a parameter. We're disposing all properties we take in as parameters inside the widget so no need to dispose of it from your side.

this violates a common practice of allowing the component responsible for creating, also be in charge of closed/destroying.

from textfield_tags.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.