j-Error
- errors are displayed only if the path contains an array in the form below:
[
{ error: 'Error Message 1' },
{ error: 'Error Message 2' }
]Configuration:
icon {String}an error icon (default:warning)
Use it with <ui-component name="error">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.
<ui-component name="error" path="mycustomerror"></ui-component>
<script>
var mycustomerror = [{ error: 'Invalid Email Address' }, { error: 'Password is too short' }];
</script>