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

Integrating keyboard in Angular 2 app #526

Closed
julio641742 opened this issue Feb 19, 2017 · 5 comments
Closed

Integrating keyboard in Angular 2 app #526

julio641742 opened this issue Feb 19, 2017 · 5 comments
Labels

Comments

@julio641742
Copy link

I am having a problem with this keyboard in angular 2. The input field does not update ngModel when typing with this virtual keyboard.

Is there a way to use this keyboard with angular 2?

@Mottie
Copy link
Owner

Mottie commented Feb 20, 2017 via email

@Mottie
Copy link
Owner

Mottie commented Apr 5, 2017

I'm guessing this issue has been resolved, so I'm going to close it. If you continue to have problems, please feel free to continue the discussion in this thread.

@Mottie Mottie closed this as completed Apr 5, 2017
@progtarek
Copy link

progtarek commented Feb 20, 2018

Hi @julio641742
I faced this problem before, the problem is that the form doesn't trigger the changes
so if you are using template driven forms you can update the ngModel manually
with change or validate callback function in the virtual keyboard
change = (event, keyboard, el) => { const value = keyboard.$preview.val(); ngModelVariableHere = value; }
or if you are using reactive forms
this.formGroup.get('formControlName').setValue(VALUE_HERE, { emitEvent: false })

@Mottie Mottie added the Angular label Nov 11, 2018
@originals
Copy link

Hi! In the main readme, under "installation" is a link to the angular 2 app repository. I've never used angular, so please ask any technical questions there.

On Feb 19, 2017 10:58 AM, "Julio Galvan" @.***> wrote: I am having a problem with this keyboard in angular 2. The input field does not update ngModel when typing with this virtual keyboard. Is there a way to use this keyboard with angular 2? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#526>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIW_6fmuH6cym2xLPQ7aBdcwolOzDk4ks5rd73-gaJpZM4MFWZZ .

Has the angular 2 version been removed?, i only see a link to angular 1.x version (AngularJs by antonio-spinelli via bower install ng-virtual-keyboard.)

@Mottie
Copy link
Owner

Mottie commented Nov 13, 2018

An angular 2 version has not yet been created to the best of my knowledge.

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

No branches or pull requests

4 participants