Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeypadInput doesn't work if it's rendered inside ng-repeat #6

Open
tuan-pham opened this issue Feb 2, 2015 · 0 comments
Open

KeypadInput doesn't work if it's rendered inside ng-repeat #6

tuan-pham opened this issue Feb 2, 2015 · 0 comments

Comments

@tuan-pham
Copy link

The directive works well as expected. However, when I try to render a list of keypad-input using ng-repeat, the model couldn't be updated. Keypad emits the event still but InputKeyboard couldn't listen to it. Do you know how to solve this issue.
Below is the code snippet used to render list of keypadInput:

<a ng-repeat="i in[0,1,2]" class="input" data-ng-model="input3" data-ng-keypad-input="numeric" tabindex="1">{{input3}}</a>

KEYPAD.handleKeyPressed triggers

 function handleKeyPressed(event, key) {
                $scope.$emit(Keypad.KEY_PRESSED, key, padId);
        }

... but KEYPADINPUT.handleKeyPressed() never get called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant