Author Topic: Validation msg is not displayed when allowInvalid is passed false to isValid api  (Read 2546 times)

Sunny

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 59
    • View Profile
Hi,

As per API isValid API, http://paramquery.com/pro/api#method-isValid, validation msg will be shown in tooltip when allowInvalid is passed as false. I noticed it is working vice-versa, tool-tip is been shown when allowInvalid is passed as true.

You can verify this at demo: http://paramquery.com/pro/demos/editing_instant, line 79 and 85.

Can you please advice.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Documentation is correct in this regard. You can verify it by calling isValid() method from click of a button.

It can also be verified from the mentioned Line numbers in demo by setting breakpoints just before and after the method calls.

Please note that isValid() method is also used internally by the grid as part of validation process.
« Last Edit: August 18, 2015, 11:34:56 am by paramquery »