BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
We need to convert the text selected from listbox to chips and those chips should be added dynamically to textarea on selection of text from listbox. How to achieve this?
Hi Keerthana,
Thank You for your reply.
As attached below, the scenario required is on selection of particular item from listbox control (ejs-listbox), it should be converted to chip, and that chip should be added dynamically (on selection from listbox) to beside textarea.
How to achieve this?
App.component.html
<div class="col-lg-12 control-section">
<ejs-listbox [dataSource]="data" (change)="select($event)"></ejs-listbox>
<ejs-chiplist #chip enableDelete="true"></ejs-chiplist>
</div>
---------------------------------------------------
App.component.ts export class AppComponent {
public select(args) {
var addChip = args.value;
this.chip.add(addChip); //appending chiplist in chip
}
} |