[CLOSED] Two tooltips one over the other

  1. #1

    [CLOSED] Two tooltips one over the other

    Hello

    I spot this problem with tooltips on the datefiled, does it have some solution ( for example if formaterror tooltip is shown do not display the other)


    Click image for larger version. 

Name:	Capture.PNG 
Views:	9 
Size:	3.4 KB 
ID:	25555

    in order to reproduce, you do not need anything crazy - just datefield on the page

    <%@ Page Language="C#" %>
    
    <!DOCTYPE html>
    <html>
    <head runat="server">
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" Namespace="" />
    		<ext:DateField runat="server"></ext:DateField>
        </form>
    </body>
    </html>
    Last edited by fabricio.murta; Sep 15, 2021 at 3:07 PM.
  2. #2
    Hello, @jirihost!

    Interesting UI issue! In fact, this is coming from the Ext.NET's underlying framework, Ext JS, and it's been there for a while now. I have created this fiddle in Sencha playground and I can easily reproduce the issue when invalid text is input in the date field; it is still reproducible even if I walk back some versions, so no telling how old the issue is!

    It looks like one of the tooltips should be disabled here. It's not so easy to get rid of the validation tooltip (the whole point of a date field, after all, is only allowing valid date/time input), so maybe it's a good idea to just let the format description tip go.

    If you agree with that, for now we'd need to provide an empty FormatText value to the Date Field (remember our recent discussion on the tooltip's content/language?)

    <ext:DateField runat="server" FormatText="" />
    And in case the validation tooltip message bugs you, here's how to override it:

    <ext:DateField runat="server" FormatText="" InvalidText="The date must be in the dd/mm/yyyy format." />
    If you'd rather remove the validation tooltip, let us know, but we'd need to put some more thought on it, and it may require an override to work.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Ok thansk for explanation , feel free to close this thread
  4. #4
    Thanks for the feedback, glad to be of assistance!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] ToolTips : Image hover show ToolTips
    By matrixwebtech in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Jun 17, 2015, 10:12 AM
  2. Disable all tooltips
    By carlos.lemos in forum 2.x Help
    Replies: 0
    Last Post: Jan 22, 2013, 10:56 AM
  3. Tooltips
    By Dominik in forum 1.x Help
    Replies: 0
    Last Post: Dec 21, 2010, 12:36 PM
  4. MenuItems and tooltips
    By plykkegaard in forum 1.x Help
    Replies: 0
    Last Post: May 04, 2009, 10:07 AM
  5. [CLOSED] Tooltips?
    By haltenberg in forum 1.x Help
    Replies: 6
    Last Post: Jul 24, 2008, 8:00 AM

Posting Permissions