Hi Boris,
Thanks for contacting Syncfusion support.
The provided gif does not open in our end, so we have prepared sample and assigned the value dynamically in a button click and ensured based on your provided information. Unfortunately, we were unable to replicate the issue. If you are using the Drodpown package's lowest version. Please upgrade and verify whether or not the reported issue has been resolved at your end. Kindly check the attached sample and share the below requested details.
Also, we would like to know you that, programmatically assigning value using value property, you have to assign the value mapped in the value field. Here in the below example value field is mapped with Id and so the respective Id ‘Game3’ is assigned to value property, it will update the corresponding text in the component.
|
public sportsData: Object[] = [
{ Id: 'Game1', Game: 'American Football' },
{ Id: 'Game2', Game: 'Badminton' },
{ Id: 'Game3', Game: 'Basketball' },
{ Id: 'Game4', Game: 'Cricket' },
{ Id: 'Game5', Game: 'Football' },
];
// maps the appropriate column to fields property
public fields: Object = { text: 'Game', value: 'Id' };
clickMe() {
this.multiObj.value = ['Game3'];
}
|
- Share Dropdown package version used in your application.
- Share video demonstration with replication procedure.
- Specify which mode is used in the Multiselect component.
- Share the control rendering code snippet.
- If possible try to replicate in the below attached sample.
The above requested details will help us to check and provide you the solution at earliest.
Regards,
Ponmani M