Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Feature request: ng-messages $warning #13666

Closed
thorgilsv opened this issue Jan 3, 2016 · 1 comment
Closed

Feature request: ng-messages $warning #13666

thorgilsv opened this issue Jan 3, 2016 · 1 comment

Comments

@thorgilsv
Copy link

I'm creating a form with 30+ input fields and each input field has multiple error checks. There are are many variables that can have unlikely inputs but should still be submittable if the user chooses so.
I really like ng-messages because it makes error handling neat. What I think is missing is $warning that unlike $error would show warnings the same way as errors but not make the ngmodel invalid. NgModel and the form should then need an extra option beside $valid and $invalid, perhaps $unclear?

@Narretz
Copy link
Contributor

Narretz commented Jan 4, 2016

I see what you mean, but this has nothing to do with ng-messages. ngMessages takes any object hash and renders the properties if they are truthy. But for ngModel, we might need something like $warnings, or $info. Let's talk about this here: #13465

@Narretz Narretz closed this as completed Jan 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants