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
close icon

EnablePasswordVisibilityToggle show star icon instead of eye icon

     <inputLayout:SfTextInputLayout Style="{StaticResource InputStyle}"
                                                               Hint="{resx:Translate Password}"
                                                               EnablePasswordVisibilityToggle="true">
                                    <Entry Text="{Binding Password}"
                                           IsPassword="True"
                                           FontSize="Medium" />
                                </inputLayout:SfTextInputLayout>

Above code in the previous versions was showing "eye" icon for the password visibility toggle but now it shows star icon? why?
I tested on Android device 9.0
using xamarin 4.1

4 Replies

LR Lakshmi Radha Krishnan Syncfusion Team October 8, 2019 04:44 PM UTC


 

 

Hi Emil,

 

Greetings from Syncfusion.

 

We are able to reproduce the reported issue at our end. You can resolve this issue by adding the below highlighted line in the OnCreate override method in the MainActivity.cs file in your Android project as a workaround.

 

Code Snippet:

 

MainActivity.cs:

 

protected override void OnCreate(Bundle savedInstanceState)

{

            Resource.UpdateIdValues();

            TabLayoutResource = Resource.Layout.Tabbar;

            ToolbarResource = Resource.Layout.Toolbar;

 

            base.OnCreate(savedInstanceState);

 

            Xamarin.Essentials.Platform.Init(this, savedInstanceState);

            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);

            LoadApplication(new App());

}

 

 

We have attached the sample for your reference. Please download it from the following location.

 

Sample: https://www.syncfusion.com/downloads/support/forum/148127/ze/TILSimpleSample-357976067.zip

 

 

We will include this fix in our upcoming Weekly NuGet which is scheduled to be rolled out on Oct 15th, 2019.

 

Regards,

Lakshmi R.

 




RA Rachel A Syncfusion Team October 15, 2019 09:59 AM UTC

Hi Emil, 
 
We are glad to announce that our weekly NuGet was rolled out today and fix for the reported issue was included in the weekly NuGet. 
 
NuGet Version: 17.3.0.17
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
 
 
Thanks, 
Rachel. 



RO Rocky April 28, 2022 12:03 AM UTC

Hi, 

Am looking for the same solution In ejs tetbox angular EnablePasswordVisibilityToggle show eye icon 



ET Eswaran Thirugnanasambandam Syncfusion Team April 29, 2022 06:04 AM UTC

We have created a separate forum for this query. Please follow-up the below forum (174708) for further updates.


Loader.
Live Chat Icon For mobile
Up arrow icon