Posted 1 September 2021, 8:18 am EST
I am trying to use the WjMultiSelect to send up an array of ints to an API. However, even with a SelectedValuePath set to ‘id’ it puts the whole object in the property. So I have an array of the object instead of an array of ints.
Is there a solution to this?
<wj-multi-select
#multiSelect
class="form-control form-control-sm"
formControlName="ids"
[id]="controlDirective.name"
[hidden]="isLoading"
[ngClass]="validationCss"
[isRequired]="false"
(initialized)="onInitialized()"
[displayMemberPath]="'display'"
[selectedValuePath]="'id'"
></wj-multi-select>