Same problem here...

input type: email,  not working on ng-model

On Thursday, 1 August 2013 03:27:00 UTC+1, Joshua Woodward wrote:
>
> I just tested this with 1.0.7 and 1.1.5 and both worked for me.
>
> Keep in mind the model is null until a valid email is provided, and 
> blank(empty string) if blank
>
> Here is a screencast showing it works
>
> http://www.screencast.com/t/tp302Byt
>
> code:
> <input type="email" ng-model="email" />
> <p>{{email}}</p>
>
>
> On Thursday, July 18, 2013 12:24:36 PM UTC-7, Emad Ibrahim wrote:
>>
>> I create a custom input directive... if the directive template is
>>
>> <div>
>>   <input type="text" ng-model='mymodel'>
>> </div>
>>
>> it works perfectly and my scope.mymodel updates as expected.
>>
>> But if I change the input type to email, it stops working:
>>
>> <div>
>>   <input type="email" ng-model='mymodel'>
>> </div>
>>
>> WHY???  I just spent 4 hours trying to figure this and it is very 
>> frustrating.  thanks for your help.
>>
>

-- 
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