How to show message of custom validation?

1
0
-1

Hi

I'm using Bonita Studio community version 7.8 and I'm newcomer in Angular js.

I add a new validation in a custom widget:

1. add module in "Required angular modules"

2. add js file in "Assets"

3. add attributes of module to my input

Now I wanna to show error message after input, But I don't know How do I do!

New validation works and show relevant class added to input.

How I add my message in ng-messages-include:

1 answer

1
0
-1

Hello,

you can add a custom error message included in a text widget. I have extracted an example that you should be able to reuse. Tell me if it works.

Notifications