We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

EnablePasswordVIsibility do not work on my new project, but it does on the sample project shipped with syncfusion

I have created a new project from visualstudio using syncfusion template, selected the control and copied the code from the sample to create a login page. but the nablePasswordVisibility do not work.
when creating i have selected .net 4.7.1

this is my code for the password field:

<inputLayout:SfTextInputLayout
                x:Name="PasswordLayout"
                ContainerType="Outlined"
                ErrorText="Introduzca su contraseña"
                HasError="{Binding IsPasswordEmpty}"
                CharMaxLength="8"
                HelperText="Introduzca su contrseña"
                Hint="Contraseña"
                LeadingViewPosition="Inside"
                EnablePasswordVisibilityToggle="True">

                <Entry x:Name="password" IsPassword="True" Text="{Binding Password}" />

                <inputLayout:SfTextInputLayout.LeadingView>
                    <Label
                        FontSize="18"
                        Text="K"
                        TextColor="{Binding Path=CurrentActiveColor, Source={x:Reference Name=PasswordLayout}}"
                        VerticalTextAlignment="Center">
                        <Label.FontFamily>
                            <OnPlatform x:TypeArguments="x:String">
                                <On Platform="iOS" Value="InputLayoutIcons" />
                                <On Platform="Android" Value="InputLayoutIcons.ttf#InputLayoutIcons" />
                            </OnPlatform>
                        </Label.FontFamily>
                    </Label>
                </inputLayout:SfTextInputLayout.LeadingView>
            </inputLayout:SfTextInputLayout>

attached is the page on my android 6.0 phone.

in the project properties the target platform is .net standard 2.0



Attachment: photo_20181114_140247_3815316e.rar

1 Reply

GS Gunasekaran Sankar Syncfusion Team November 15, 2018 01:10 PM UTC

Hi Jesus, 
 
 
We have created a new support incident to have further followups. We will assist you through incident under your Direct Trac account.  
 
Our Direct Trac support system can be accessed from the following link:  
                                
  
 
 
Regards, 
Gunasekaran 
  


Loader.
Live Chat Icon For mobile
Up arrow icon