Hi Manuel,
Thanks for contacting Syncfusion support.
Based on the information you provided, we created a sample by rendering the AutoComplete component inside both the Syncfusion Dialog component and Bootstrap modal dialog and ensured with the given procedure. Unfortunately, we were unable to reproduce the issue on our end. In the below sample we addded the items in the button click using the public method addItem, as seen in the code snippet below. Please see the samples and video demonstrations below.
|
public BtnClick = (): void => {
let newItem = { Id: "game0", Game: "Hockey" };
(this.AutoCompleteObj.dataSource as Object[]).push(newItem);
this.AutoCompleteObj.addItem(newItem);
this.Dialog.show();
}; |
Kindly check with the above sample and replication procedure made in our end which is demonstrated in the video. If we missed to replicate or any changes in the code, please revert us with below details.
- Share Syncfusion dropdown package version.
- Whether rendered Autocomplete inside Syncfusion dialog or Bootstrap dialog.
- Share code snippet along with issue replication video demonstration.
- If possible try to replicate in the above provided sample.
The above requested details will help us to check and provide you the solution at earliest.
Regards,
Ponmani M