Results 1 to 3 of 3

Thread: Markinvalid

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    59
    Vote Rating
    0
      0  

    Default Markinvalid

    Hello together

    How do I have to call the method "field".markInvalid('...'), so that the tooltip will be displayed? Can you possibly give me an example?

    Thanks and regards
    extjser12

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    If you want to programmatically show a tooltip then you can create the tooltip and show by the icon.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha - Documentation Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,162
    Vote Rating
    257
      0  

    Default

    This is how I've done it if this helps:
    Code:
    getMyField.markInvalid('Message to show in the tooltip here...')

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •