error messages shown only once

  • 1
  • Question
  • Updated 1 year ago
  • Answered
I am using some client-side validation in my app, and running into a certain issue.
I’m using a function like the following to handle messages -

function errorMessage( message ) {
    var title_component = skuid.$(‘#my-page-title').data('object');
    title_component.editor.handleMessages( [{ message: message, severity: 'ERROR'}] );

The messages display just fine. The issue is that, if the user hides the message by clicking on it, and then makes the same mistake again (or a different mistake that triggers the same message), nothing is shown.

Is this by design, or a bug in my code, or a bug in Skuid? Is there some way to “reset” the component that is showing the message so it will show the messages again?

Photo of Hamza Tayeb

Hamza Tayeb

  • 278 Points 250 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Ashish Kumar Singh

Ashish Kumar Singh

  • 300 Points 250 badge 2x thumb
Hi, I'm facing the same problem.Did you find any solution for this?
Photo of Selvendirapandi


  • 60 Points
Use clearErrorMessage();  before start calling any error messages.
function clearErrorMessage( message ) {

    var title_component = skuid.$(‘#my-page-title').data('object');