Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
<ejs-dropdownlist formControlName="skillname" name="skillname" [dataSource]='autoreactiveskillset'
[placeholder]='autoreactiveplaceholder'>
</ejs-dropdownlist>
<button style="float:right" type="button" (click)="setDefaultValue()">Set Value</button>
|
public autoreactiveskillset: string[] = [
'ASP.NET', 'ActionScript', 'Basic',
'C++', 'C#', 'dBase', 'Delphi',
'ESPOL', 'F#', 'FoxPro', 'Java',
'J#', 'Lisp', 'Logo', 'PHP'
];
setDefaultValue() {
this.userForm.setValue({ name: 'John', skillname: 'Delphi', age: 20 });
} |
Hi Narayanasamy,
I've tested agains your code and now is working fine.
Jose