angular - Textbox is not hitting the "TextUpdated" event when the text is wrapped in double asterisks -
i new angular2 , having issue 1 of components not hit "textupdated" event when text wrapped in double asterisks.
there no character limit , works fine single asterisks not two.
on text input have
<input type="text" (ngmodelchange)="onjobtitleselected($event)" /> onjobtitleselected(jt: any): void { if ((typeof jt) !== "string") { this.model.jobtitle = jt; this.model.jobtitleid = jt.id; this.model.jobtitletext = jt.text; } else { this.model.jobtitletext = jt; } this.onjobtitleupdated.emit(this.model.jobtitletext); }
Comments
Post a Comment