numeric-keyboard
numeric-keyboard copied to clipboard
Cannot get this to work in Angular 8. No error, just not see the input element working.
I have installed numeric-keyboard via npm into the Angular 8 project. I got no errors when I did 'ng serve' but just not seeing the input box getting manifested on the browser. Below is my simple input dialog ... I am thinking that I perhaps need to install additional packages to work with Webpack or something, I added [email protected] but no avail. Any help is appreciated.
import { Component } from '@angular/core'; import { NumericKeyboardModule } from 'numeric-keyboard/dist/numeric_keyboard.angular';
@Component({
selector: 'app-root',
template: <div class="input"> <label> Amount: </label> <numeric-input class="numeric-input" type="number" placehold="type something here"></numeric-input> </div>
,
})
export class AppComponent { public amount: number | string = '' }
import { NumericKeyboardModule } from 'numeric-keyboard/dist/numeric_keyboard.angular';
Hello, were you able to solve this?