Skip to content

add verboseness on error messages and validate input atributes #205

@genuinefafa

Description

@genuinefafa

Bug description:

I've notice that when something is wrong on attributes for many of the components, angular is throwing near to impossible to understand errors. It would be great if the library is able to validate input and show verbose message to users so they can fix it.

Link to minimally-working plunker that reproduces the issue:

Example plunkr. To see the ugly error template must be changed to some labelField that doesn't exists on options array.

Version of Angular, ng2-semantic-ui, and Semantic UI:

Angular: last/current
ng2-semantic-ui: last/current
Semantic UI: last/current

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions