numeric-keyboard icon indicating copy to clipboard operation
numeric-keyboard copied to clipboard

Cannot get this to work in Angular 8. No error, just not see the input element working.

Open bill8575 opened this issue 4 years ago • 1 comments

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>&nbsp;&nbsp;Amount: </label> <numeric-input class="numeric-input" type="number" placehold="type something here"></numeric-input> </div>, })

export class AppComponent { public amount: number | string = '' }

bill8575 avatar Mar 09 '20 08:03 bill8575

import { NumericKeyboardModule } from 'numeric-keyboard/dist/numeric_keyboard.angular';

Hello, were you able to solve this?

lewisuzoma avatar Nov 21 '22 22:11 lewisuzoma