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

clear / reset fields #40

Closed
Trend74X opened this issue Dec 2, 2021 · 4 comments
Closed

clear / reset fields #40

Trend74X opened this issue Dec 2, 2021 · 4 comments

Comments

@Trend74X
Copy link

Trend74X commented Dec 2, 2021

I have this TextFieldTags used inside a form. After the form is submitted, it is supposed to reset or clear the tags after successful submit. I dont see how to achieve this, or is there any way to do this?

@hardiklakhalani
Copy link
Contributor

Yes, a TextEditingController would be helpful here (which is already implemented inside the widget with controller.clear() function but didn't bring it out in parameters).

@mark8044
Copy link
Contributor

mark8044 commented Jan 3, 2022

For sure we need a controller....

@mark8044
Copy link
Contributor

mark8044 commented Jan 3, 2022

I just made a PR that seems to work for me #45

@eyoeldefare
Copy link
Owner

Thanks mark8044, I have merged your request.

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

No branches or pull requests

4 participants