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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

EnablePasswordVIsibility do not work on my new project, but it does on the sample project in Github

Thread ID:

Created:

Updated:

Platform:

Replies:

141017 Nov 19,2018 10:52 AM UTC Nov 20,2018 08:41 AM UTC Xamarin.Forms 2
loading
Tags: SfTextInputLayout
Andre
Asked On November 19, 2018 10:52 AM UTC

I have created a new project from visual studio 2017 using syncfusion SfTextInputLayout but the EnablePasswordVisibility do not work.

The XAML of the page is ?


<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:App5"
                 xmlns:inputLayout="clr-namespace:Syncfusion.XForms.TextInputLayout;assembly=Syncfusion.Core.XForms"
             x:Class="App5.MainPage">

    <StackLayout>
        <Entry></Entry>

        <inputLayout:SfTextInputLayout
                    x:Name="passwordLayout"
                    CharMaxLength="8"
                    ContainerType="Filled"
                    EnablePasswordVisibilityToggle="true"
                    ErrorText="Enter 5 to 8 characters"
                     EnableHintAnimation="True" FocusedColor="Yellow" UnfocusedColor="Transparent" ShowHelperText="True" TrailingViewPosition="Inside"
                             HelperText="Enter 5 to 8 characters"
                    Hint="Password"
                    ShowCharCount="true">

            <Entry
                        x:Name="password"
                        IsPassword="true" />

            <inputLayout:SfTextInputLayout.LeadingView>
                <Label
                            FontSize="18"
                            Text="K"
                            TextColor="Red"
                            VerticalTextAlignment="Center">
                    <Label.FontFamily>
                        <OnPlatform x:TypeArguments="x:String">
                            <On Platform="iOS" Value="InputLayoutIcons" />
                            <On Platform="Android" Value="InputLayoutIcons.ttf#InputLayoutIcons" />
                            <On Platform="UWP" Value="/Assets/Fonts/InputLayoutIcons.ttf#InputLayoutIcons" />
                        </OnPlatform>
                    </Label.FontFamily>
                </Label>
            </inputLayout:SfTextInputLayout.LeadingView>
        </inputLayout:SfTextInputLayout>


    </StackLayout>

</ContentPage>

Attachment: EmulatorImage_c6f073a2.rar

Andre
Replied On November 19, 2018 10:55 AM UTC

The sample project.

Attachment: App5_a86bb9a2.rar

Michael Prabhu M [Syncfusion]
Replied On November 20, 2018 08:41 AM UTC

Hi Andre, 

Greetings from Syncfusion. 

We are able to reproduce the issue “EnablePasswordVisibilityToggle didn’t work properly”. So, we have created a new support incident to have further follow-ups. We will assist you through incident under your Direct Trac account.  
Our Direct Trac support system can be accessed from the following link:  
                                

Thanks, 
Michael 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;