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

Improved the functionality of Input field #38

Closed
wants to merge 1 commit into from

Conversation

shuklamaneesh23
Copy link

Solved issue #10 ,

This PR addresses the functionality issues with the text field in the Flutter app. The text field was experiencing unexpected behavior, causing it to behave inadequately. The PR includes adjustments to ensure smooth and reliable input functionality for users.

Changes:

  • Adjusted the onChanged callback in the text field to update the text controller's value property instead of directly assigning a new value to the text controller.
  • Initialized and disposed of the TextEditingController properly to prevent memory leaks.

Screenshot of text input after changes:
Screenshot 2024-03-18 at 1 11 41 AM

@Illuminati9
Copy link
Contributor

@shuklamaneesh23 , LGTM!!

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

Successfully merging this pull request may close these issues.

2 participants