primeng icon indicating copy to clipboard operation
primeng copied to clipboard

onInput event for Input tag

Open garethlewis opened this issue 10 years ago • 1 comments

Would it be possible to have an onInput listener added to the standard InputText component, similar to the InputMask.

I have a scenario where I am filtering items in a carousel but I have to click a button after entering some text in in the input field.

garethlewis avatar Nov 01 '16 15:11 garethlewis

InputText component is a directive, you can still use onInput;

<input type="text" pInputText (input)="fn($event)" ...

cagataycivici avatar Nov 01 '16 15:11 cagataycivici