DataFormTextItem shows initial value and watermark superimposed

I can bind the values of the dataform items to the viewmodel but it's displaying both the value and the watermak  at the same time. How can I avoid displaying the watermark when a value is not null? 

 <dataForm:SfDataForm Grid.Row="0" x:Name="dataForm" AutoGenerateItems="False" PropertyChanged="DataForm_OnPropertyChanged"   LayoutOptions="TextInputLayout" ShowHelperText="False" NotifyPropertyChanges="True" ValidationMode="LostFocus" >

                <dataForm:SfDataForm.Items>

                    <dataForm:DataFormTextItem Name="Title" Editor="Text" />

                    <dataForm:DataFormTextItem Name="City" Editor="Text" />

                    <dataForm:DataFormDateItem Name="Date" Editor="Date" />

                    <dataForm:DataFormTextItem Name="Notes" Editor="MultilineText" Height="Auto"/>

                </dataForm:SfDataForm.Items>

            </dataForm:SfDataForm>




3 Replies

SS SaiGanesh Sakthivel Syncfusion Team November 16, 2021 12:31 PM UTC

Hi George, 
 
Thank you for using Syncfusion products. 
 
#Regarding DataFormTextItem shows initial value and watermark superimposed 
We have checked the reported query from our end. We could not replicate the reported scenario from our end. we have prepared the simple sample as per given code snippet and checked the sample with Android 9 API 28 (Honor 9N) device. Please refer to the sample in the following locations for your reference. 
 
 
Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us back with the following details, 
 
·       Device configuration details 
·       Share the steps to replicate the issue 
·       Syncfusion and Xamarin.Forms update version 
 
It will be helpful for us to check on it and provide you the solution at the earliest. 
  
Regards,
SaiGanesh Sakthivel
 



GD George DAlessio November 17, 2021 12:44 AM UTC

I will try to recreate my scenario by modifying your sample. It will take me some time as my app is very different from your sample. 

 Thanks for your reply. 



SS SaiGanesh Sakthivel Syncfusion Team November 17, 2021 08:35 AM UTC

Hi George,   
   
Thank you for the update.   
   
We will wait until your further response.   
    
Regards,   
SaiGanesh Sakthivel 


Loader.
Up arrow icon