ng2-table
ng2-table copied to clipboard
How can i include a <select> tag inside the table ?
i am including the the html like the following, it shows it, but it doesn't work as expected, can allow me to select a value, how can i achieve this ?
Object.assign({}, item, {
i: i+1,
cambiar: `
<select class="form-control">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
`,
detalles: `
<span>
<button (click)="onClick('viewChannel',${item.id})" class="btn btn-icon btn-sm waves-effect waves-light btn-primary m-b-5">
<i class="fa fa-eye" aria-hidden="true"></i>
</button>
</span>`,
editar: `
<span>
<button (click)="onClick('editChannel',${item.id})" class="btn btn-icon btn-sm waves-effect waves-light btn-primary m-b-5">
<i class="fa fa-wrench"></i>
</button>
</span>
`,
I have been able to create a table with a simple select inside it, can you provide a plnkr or something to replicate the error?