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

selectAllOnFocus on ReactiveTextField #210

Closed
carmas123 opened this issue Sep 7, 2021 · 4 comments
Closed

selectAllOnFocus on ReactiveTextField #210

carmas123 opened this issue Sep 7, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@carmas123
Copy link

Since it is not possible to access to TextEditController of ReactiveTextField I think that can be hopeful to add a simple new property: selectAllOnFocus

This could be useful for auto-selecting text when receiving focus.

Regards.

@vasilich6107
Copy link
Contributor

Hi @carmas123
It seems that this issue is duplicate of #209

If your issues are the same could you close this one in favour of #209

@carmas123
Copy link
Author

This concerns a direct functionality to "autoSelectAll" on focus is received.

@vasilich6107
Copy link
Contributor

Hi @carmas123

I release standalone package for text field with exposed controller
https://pub.dev/packages/reactive_text_field

Check how to access the controller in example
https://github.com/artflutter/reactive_forms_widgets/blob/master/packages/reactive_text_field/example/lib/main.dart#L47

Does it looks suitable for your needs?

@joanpablo
Copy link
Owner

Hi @carmas123,

We have just released v10.7.0. In this version, you can pass a controller to the ReactiveTextField and use it for selection purposes.

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

No branches or pull requests

3 participants