Posted 7 January 2020, 11:24 am EST
Hello! I have a angular component with the WjAutoComplete inside, this components recive as input the formControl of reactive forms.
The problem that I have is that I set the properties isEditable to false and isRequired to true and still I can edit with the keyboard (delete) and the value is set to null.
Is there a way to set this values using the formControl from angular?
<wj-auto-complete
[id]="input"
[isEditable]="false"
[isRequired]="true"
[delay]="200"
[isAnimated]="false"
[displayMemberPath]="displayMemberPath"
[placeholder]="placeholder"
[itemsSource]="source"
[headerPath]="mainMemberPath"
[formControl]="control">
</wj-auto-complete>