<kama-error errors="sampleErrors"></kama-error>
<kama-error errors="sampleErrors"></kama-error>
| name | type | required | notes |
|---|---|---|---|
| errors | array of strings | true |
You should assign an array to this directive through errors attribute, then you can push error messages to this array an the directive will display them in a bootstrap danger alert. Depend on width of user browser window, errors will show from 1 to 3 columns. If user click on X button error alert will hide and the assigned array will get empty.