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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TextInputLayout control Hangs the application

Thread ID:

Created:

Updated:

Platform:

Replies:

141346 Dec 6,2018 04:16 PM UTC Dec 7,2018 08:37 AM UTC Xamarin.Forms 1
loading
Tags: SfTextInputLayout
Jesus
Asked On December 6, 2018 04:16 PM UTC

I'm using the TextInputLayout to show information (because i like the style and the Hint help with space saving), I used it with a disabled entry, but the textcolor property for a disabled entry is bugged and the text is displayed with the default color. Now to solve that easily I though "Why not change the entry for a label?" and my app got frozen.

I understand that the control is thinked to be used with Entry (because is an input) but it will be great if I can have a Label with the TextInputLayout Style

Michael Prabhu M [Syncfusion]
Replied On December 7, 2018 08:37 AM UTC

Hi Jesus, 
 
Greetings from Syncfusion. 
 
Query:  To use disabled entry or label 
 
We have analyzed your requirement, where you are trying to use a disabled entry or label to achieve your requirement. So, we suspect that, the exact requirement is uneditable text for an Entry in text input layout. If so, we can achieve your requirement by setting the InputTransparent property for the Entry. We have shared the code snipped for the same, 
 
Refer the following link: 
 
Solution:  
[Code Snippet XAML]   
 <inputLayout:SfTextInputLayout ContainerType="Outlined" Hint="Name"> 
             
                <Entry x:Name="entryfield" Text="John" TextColor="Pink" InputTransparent="True" /> 
   
</inputLayout:SfTextInputLayout> 
  
Also, we have already implemented options to customize the color of all the elements using keys, which will be available in our Volume 4 2018- beta release which is expected to be rolled out within a week. 
 
Regards, 
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

Live Chat Icon For mobile
Live Chat Icon