Replies: 2 comments
-
@mdelgadov, I have prepared a sample that demonstrates binding validation errors from ObservableValidator to SfTextInputLayout. The sample demonstrates proper MVVM patterns with ObservableValidator, handles validation state changes, and provides clean separation of concerns. Please check the sample and let us know if you need any other details. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks Choza, quite interesting...
Sent from Outlook<http://aka.ms/weboutlook>
…________________________________
From: Choza-rajan ***@***.***>
Sent: Monday, June 30, 2025 5:43 PM
To: syncfusion/maui-toolkit ***@***.***>
Cc: Miguel Delgado ***@***.***>; Mention ***@***.***>
Subject: Re: [syncfusion/maui-toolkit] How do you bind SfTextInputLayout.ErrorTextProperty to a property in an ObservableValidator of the MVVM toolkit? (Discussion #95)
@mdelgadov<https://github.com/mdelgadov>, I have prepared a sample that demonstrates binding validation errors from ObservableValidator to SfTextInputLayout. The sample demonstrates proper MVVM patterns with ObservableValidator, handles validation state changes, and provides clean separation of concerns. Please check the sample and let us know if you need any other details.
TextInputLayoutDemo.zip<https://github.com/user-attachments/files/20988761/TextInputLayoutDemo.zip>
—
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AALXMD36DKG2ZTDVN5D5U533GHKUXAVCNFSM6AAAAABYHV735WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNRSGMYTEMY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello fellows:
The MVVM has an observable validator with properties and a method GetErrors that gets an array of errors.
How can I bind the SfTextInputLayout.ErrorTextProperty to a property in ObservableValidator?
Any hint appreciated.
Miguel Delgado
Beta Was this translation helpful? Give feedback.
All reactions