Thanks Sander for your reply.

Actually I got the Plunker link from docs.angularjs.org 
(http://docs.angularjs.org/guide/forms) .

I have updated the Plunker code by adding the defaults as you said and its 
enabling the Reset button now.
But if we check in console the "Email" is undefined (in $scope) until we 
provide valid input for email.

Also if we remove the text entered for email; can we disable the Reset 
button again?


*Regards,*
*Sourav*


On Wednesday, April 2, 2014 1:02:47 PM UTC+5:30, Sander Elias wrote:
>
> Hi Sourav,
>
> You did not provide defaults in your code, this confuses me, and 
> apparently also some parts in your code ;)
> if you do this in your controller:
>
>     $scope.master = {
>        name:'',
>        email:''
>     };
>
> Your sample will work as expected.
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to