0

I have this plunkr with 2 forms. The first one (Form One) is not working and I don't have clue what is wrong, everything seems correct for me. The second one (Form Two) is working.

Anyone can help me to find out what is wrong?

1 Answer 1

2

The problem was that you hadn't set an ng-model for your input field in the first form. So I just added it like this:

ng-model="main.courier"

Here's the updated Plunker showing the fix in action: http://plnkr.co/edit/urauW4a7XJNhyBNoxqDa?p=preview

(I also added an ng-class on the wrapping div for better styling of the validation errors).

Sign up to request clarification or add additional context in comments.

1 Comment

You're right! I knew it was something simple! Thanks a lot!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.