Hi Luis,
Thank you for contacting Syncfusion support.
We have checked your code snippet, you have missed to update the ngModel value from component. We have prepared sample based shared code. Please refer the below code snippet.
[html]
<ejs-dropdownlist name="estado" [(ngModel)]="realizado" [dataSource]='estados' ></ejs-dropdownlist> |
[component.ts]
export class DataBindingDropDownListComponent {
// define the JSON of data
public estados: any[] = [ { value: false, text: 'Sin realizar' },{ value: true, text: 'Realizado' }];
public realizado = "Realizado"
} |
We have attached the sample for your reference, please find the sample at the following location
Please let us know if you need any further assistance on this.
Regards,
Prince