Comments (25)
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.
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.
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.
I will keep this open to see if this issue persists.
Thanks man!
from textfield_tags.
@eyoeldefare thank you so much, please let me know if you push an update. Keep doing great work mate !
from textfield_tags.
Got stuck on this issue. :/
from textfield_tags.
@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 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.
Damn, i get this error...
from textfield_tags.
Hey @eyoeldefare... Getting the same issue... Is there any temporary solution until you fix this??
from textfield_tags.
Hey yeah, last version doesn't have this issue. You can downgrade till this saterday.
from textfield_tags.
Hey yeah, last version doesn't have this issue. You can downgrade till this saterday.
downgrade doesn't help
from textfield_tags.
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.
I will keep this open to see if this issue persists.
from textfield_tags.
I downgrade the package to version 1.4.2 and it works for me
...
textfield_tags: '1.4.2'
...
from textfield_tags.
Any updates?
from textfield_tags.
Any updates?
from textfield_tags.
This was solved as far as I see. What issues are you guys experiencing in this regard?
from textfield_tags.
@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.
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.
@eyoeldefare
Flutter 3.3.5
textfield_tags: ^2.0.2
from textfield_tags.
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.
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!
from textfield_tags.
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)
- typing area is not visible when tags are more then current width HOT 1
- TextField Controller HOT 2
- Textfield Tags do not scroll when full on Flutter Web HOT 4
- Enable (Read Only) feature not available HOT 1
- onTag event fires twice. HOT 2
- Vertical scrollable tagfield ? HOT 3
- Limit the number of tags? HOT 3
- Breaking changes comming up after V2.0.0+ release (BE AWARE BEFORE UPDATING) HOT 2
- How to avoid empty tag? HOT 6
- warning after flutter 3.0 HOT 3
- Error HOT 2
- How to delete the Tag Based on Index value.[How to get the index of the Tag] HOT 1
- textSeparators issue HOT 21
- null safety error HOT 4
- How to use multiple lines in a textfield instead of one scrolling line? HOT 2
- Prevent paste long text (include free spaces) HOT 1
- Add custom data type support HOT 1
- set required validation HOT 1
- Has sign remove to search issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textfield_tags.