Android device not setting value

Hallo,

I have a input form which has first a SfTextInputLayout with a SfNumericTextBox. When entering a number in the SfNumericTextBox and not pressing the return key, but instead changing directly to the next control, a combobox and than trying to save the value, the code is not picking up the value from the SfNumericTextBox in an android device, even the value is still there after saving. In IOS & UWP it is working. When I press the return key and than using the combobox, it is working.

Sombody has a clue how to fix that.

              <inputLayout:SfTextInputLayout x:Name="NumericInputDistanceVisible" IsVisible="False" Margin="10,0,10,0"
                     Hint="Distance"
                     ContainerType="Outlined"
                     OutlineCornerRadius="8"
                     FocusedColor="#00AFA0"
                     UnfocusedColor="Silver"
                     HelperText="Required *">
                     <numeric:SfNumericTextBox
                      x:Name="NumericInputDistance"
                     AllowNull="False"
                     MaximumNumberDecimalDigits="2"
                     FormatString="n"
                     Watermark="Getting Started" />
                     </inputLayout:SfTextInputLayout>

                        <inputLayout:SfTextInputLayout x:Name="comboBoxSectionFrame" Hint="Track Surface" HelperText="Select Track Surface"
                     ContainerType="Outlined"
                     OutlineCornerRadius="8"
                     FocusedColor="#00AFA0"
                     UnfocusedColor="Silver"
                     Margin="10,0,10,0" IsVisible="False">
                            <combobox:SfComboBox  SelectedItem="Asphalt" x:Name="comboBoxSectionProfil" >
                                <combobox:SfComboBox.ComboBoxSource>
                                    <ListCollection:List x:TypeArguments="x:String">
                                        <x:String>Asphalt</x:String>
                                        <x:String>Gravel Road</x:String>
                                        <x:String>Trail</x:String>
                                        <x:String>Grass</x:String>
                                        <x:String>Sand</x:String>
                                    </ListCollection:List>
                                </combobox:SfComboBox.ComboBoxSource>
                            </combobox:SfComboBox>
                     </inputLayout:SfTextInputLayout>


Thanks,

Markus


3 Replies

AS Anandraj Selvam Syncfusion Team May 4, 2020 12:51 PM UTC

Hi Markus, 
  
Greetings from the Syncfusion.     
  
We have checked the same and we were unable to reproduce the reported issue. We have suspected that it may because of ValueChangedMode as OnLostFocus property value. Could you please ensure that by changing that to OnKeyFocus 
  
  
If possible, please share the used device details that will be more helpful to analysis this and also share the complete layout page structure for understanding the focus validation. 
  
Regards, 
Anand Raj S. 



MA Markus May 5, 2020 08:00 AM UTC

Hi Anand,

thank you, that help :)

Thnaks,

Markus


AS Anandraj Selvam Syncfusion Team May 6, 2020 06:13 AM UTC

Hi Markus, 
  
Thanks for the update and we will wait to hear from you. 
  
Regards, 
Anand Raj S. 


Loader.
Up arrow icon