Unfocused Event Not working in SfTextInputLayout.

Hi,  

We have implemented SfTextInputLayout : 

<inputLayout:SfTextInputLayout Hint="*EmailID*"  ContainerType="Outlined"  UnfocusedColor="Orange"  FocusedColor="#00AFA0" Unfocused="SfTextInputLayout_Unfocused">
  <Entry Text="{Binding Email, Mode=TwoWay}" x:Name="txtEmaildforReg"  Unfocused="txtEmaild_Unfocused"   /> 
   </inputLayout:SfTextInputLayout>  

Above highlighted UnFocused event not working. Please let us aware how we can do the same. 


Thanks

3 Replies

MP Michael Prabhu M Syncfusion Team October 30, 2018 11:55 AM UTC

Hi Vaibhav, 

Greetings from Syncfusion, we have analyzed this and we are able to reproduce the issue with the mentioned scenario of focused and unfocused events. We have logged a defect report on this and we will fix this issue and it will be included in our upcoming volume 4 release which is scheduled to be rolled out at the mid of December 2018.  

Thanks, 
Michael 




JS Judi Smith December 30, 2020 06:14 PM UTC

What is the status of this issue? It appears that it is still (or again) not working. RequiredTest_OnUnfocused is never executed.

textInputLayout:SfTextInputLayout
                        x:Name="FirstNameLayout"
                        Hint="Student First Name"
                        ContainerType="Filled"
                        HelperText="Enter student's first name"
                        FocusedStrokeWidth="4"
                        UnfocusedStrokeWidth="2"
                        ErrorColor="Red"
                        HorizontalOptions="Start"
                        WidthRequest="200"
                        Unfocused="RequiredText_OnUnfocused">
                        <Entry x:Name="FirstName"/>
                    </textInputLayout:SfTextInputLayout>


SS Sridevi Sivakumar Syncfusion Team January 4, 2021 12:29 PM UTC

Hi Judi Smith,

Sorry for the inconvenience caused.

The reported problem is not related with SfTextInputLayout. Events will also not be raised if you set Entry as Grid child and raised focus and unfocus events for Grid scenario.

SfTextInputLayout also an input container. So, by raising the Focus and Unfocus events for Entry instead of SfTextInputLayout, you can solve the problem.

Please let us know if you have any other queries. 
  
Regards,
Sridevi S.
 


Loader.
Up arrow icon