0
Hello, Need to create in a component Alertcontroller with a checkbox list and a text field , same in the code below
alert.setTitle('Registrar item ? ' + p.descricao_resumida);
for (let course of this.obs_preparo) {
console.log(course.observacao)
alert.addInput({
type: 'checkbox',
label: course.observacao,
value: course.id
});
}
alert.addInput({
type: 'text',
name: 'quantidade',
value: '1',
});
But when it is displayed, the text field appears in checkbox format, Can anyone help me?