Semantic interface - how you display error messages in the error block as input lines

I am using semantic ui and would like to display error messages in my form

the problem is that I have either the choice of displaying them in the error block, or using the built-in labels.

Is there a way so that I can display errors at the same time?

so that it looks like

$('form').form({
 fields : validationRules,
 inline : true,
 on : 'blur'
});

which gives me errors that appear in shortcuts, but it is also necessary that errors appear inside the error block

<div class="ui error message"></div>

any ideas?

thanks

+4
source share

Source: https://habr.com/ru/post/1619951/


All Articles