Skip to content

Commit

Permalink
fix(front): remove useless condition multiselect
Browse files Browse the repository at this point in the history
Since it introduced a bug in displaying values
  • Loading branch information
Maxime Vergez committed Oct 25, 2023
1 parent 6ecdf47 commit 4448811
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ export class TaxonAdvancedStoreService {
attr['attribut_name'] = 'taxhub_attribut_' + attr['id_attribut'];
attr['required'] = attr['obligatoire'];
attr['attribut_label'] = attr['label_attribut'];
if (attr['type_widget'] == 'multiselect') {
attr['values'] = attr['values'].map((val) => {
return { value: val };
});
}
this._formGen.addNewControl(attr, this._formService.searchForm);

return attr;
Expand Down

0 comments on commit 4448811

Please sign in to comment.