[Feature Request] Support Blazor Validation with tooltip out of the box

I have read on a few threads that native blazor validation support is coming to your controls.  Is there any update?  I would like to be able to specify as a parameter that I want a tooltip for the UI, and the control takes care of the rest.  Is this going to be added anytime soon?

5 Replies

VS Vignesh Srinivasan Syncfusion Team January 22, 2021 12:19 PM UTC

Hi Rudi, 
 
we can achieve the requirement in application level to show the validation error message of the textbox control in the tooltip component by binding the error message element to the tooltip’s content. You can alter the visibility of the error message by modifying the OffsetX and OffsetY properties of tooltip.  Kindly refer to the following sample.   
 
 
Screenshot: 
 
 
 
Kindly check with above sample. Please let us know if you need any further assistance. 
 
Regards, 
 
Vignesh Srinivasan 



HA HappyCamper January 22, 2021 03:54 PM UTC

Hi Vignesh,

Thanks very much for your response.  Your solution sample definitely works, thanks for that, but the point I wanted to get across with the feature request is that your solution isn't scalable. When you have multiple forms with lots of controls, it would leave it up to your customer to create more custom controls that extends the functionality of the controls that I would expect to have as standard features included in each control.  My expectation is for syncfusion controls to be able to handle blazor validation in its entirety for the control, rather than having to extend the control's functionality to change the styling, or report the validation error text. (in for example, a tooltip).  Almost all your competitors provide validation out of the box per control.


VS Vignesh Srinivasan Syncfusion Team January 25, 2021 09:59 AM UTC

Hi HappyCamper, 
 
we have logged the feature (Need to show validation message in tooltip). And this support will be included in any one of our upcoming releases. We will implement the feature based on the customer request count and priority.    
   
You can track the status of the requested requirement from the below feedback link.   
   
 
Regards, 
 
Vignesh Srinivasan 
 



KH Kevon Houghton April 10, 2023 06:47 PM UTC

Would it be possible to get an updated solution to this in .net 6 or greater?



UD UdhayaKumar Duraisamy Syncfusion Team April 11, 2023 06:01 AM UTC

We have prepared a sample for "Textbox validation with Tooltip using .Net 7" and shared it below for your reference. Please refer to it.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/TextBox_Tooltip_Validation-1020889192


Loader.
Up arrow icon