You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, the problem is that the input field is not receiving the focus when we click on a <ion-label> or <span class="input-label">. That's my code:
If i remove the ng-switch directive and let only one input field, the focus event works normally after clicking the label.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Using ng-switch directive with ion-label is not firing the focus event on a input field.
bug: Using ng-switch directive with ion-label is not firing the focus event on a input field.
Dec 14, 2015
I think the problem is related to <ion-input> directive, cause it's working when i use Labels. The code above works:
<labelclass="item item-input" ng-switch="platform"><ion-label>User</ion-label><!--- this also works ---><!-- <span class="input-label">User</span> --><inputng-switch-when="android" type="tel" name="user" /><inputng-switch-defaulttype="text" name="user" /></label>
Type: bug
Platform: mobile browser
Basically, the problem is that the input field is not receiving the focus when we click on a
<ion-label>
or<span class="input-label">
. That's my code:If i remove the ng-switch directive and let only one input field, the focus event works normally after clicking the label.
The text was updated successfully, but these errors were encountered: