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

How to validate text value of the TextFormField? #682

Open
Vladeezyy opened this issue Apr 17, 2024 · 3 comments
Open

How to validate text value of the TextFormField? #682

Vladeezyy opened this issue Apr 17, 2024 · 3 comments
Labels
question Further information is requested

Comments

@Vladeezyy
Copy link

I have element like this
image

As you can see, there is a label for text field called "Full Name" and name value itself.
How I can validate that this field contains exactly this value ?

@KazuCocoa KazuCocoa added the question Further information is requested label Apr 18, 2024
@Vladeezyy
Copy link
Author

as I understand only way to do it now is to use nativeContext and using xPath locate this element somehow using text, right ? ...

@Vladeezyy
Copy link
Author

have actually found the text value, but am I able to get it and validate ?
image

@AYASGray
Copy link

AYASGray commented Jul 2, 2024

Look for a descendant widget of your TextFormField of type EditableText - does one exist? In our app, that's the way I'm getting the value of one of these text entry widgets after it has been sent text.

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

No branches or pull requests

3 participants