UXDivers / Grial-UI-Kit-Support

This is our public repository for customers to report bugs about Grial UI Kit for Xamarin Forms
61 stars 26 forks source link

email validator not work #345

Open iwaitu opened 6 years ago

iwaitu commented 6 years ago
                    <Entry Placeholder="{ artina:Translate StringEmail }" Style="{StaticResource ArtinaLoginEntryStyle}" Text="{Binding Email}">

                        <Entry.Behaviors>
                            <artina:EmailValidatorBehavior x:Name="emailValidator" />
                        </Entry.Behaviors>
                    </Entry>

                    <Label Text="{ artina:Translate ErrorPleaseEnterValidEmail }" IsVisible="false" Style="{StaticResource ValidationEntryErrorStyle}">

                        <Label.Triggers>
                            <DataTrigger TargetType="Label" Binding="{Binding Source={x:Reference emailValidator}, Path=IsValid}" Value="false">
                                <Setter Property="IsVisible" Value="true" />
                            </DataTrigger>
                        </Label.Triggers>
                    </Label>
iwaitu commented 6 years ago

I trying to do a loginpage, I copy this entry code from SignUpPage in full sample project, and copy SignUpPage into the new project from full sample project. My problem is the emailvalidator work fine in SignUpPage , but do not work In my new page.

LeoHere commented 6 years ago

@iwaitu I don't see any obvious issue in the code you share. Can you share with me a sample project where I can reproduce the issue? If that is possible please email it to l r o d r i g u e z at uxdivers.com.

ECDev01 commented 5 years ago

Hi, did it get solved? I have the same issue. Thanks.