Closed asithade closed 3 years ago
Hi, the value used in refinementlist for now is highlighted
(even when not searchable), not label, so you should transform that one as well.
https://codesandbox.io/s/amazing-aryabhata-ezedp?file=/src/app/app.component.ts:512-559
Hi, the value used in refinementlist for now is
highlighted
(even when not searchable), not label, so you should transform that one as well.https://codesandbox.io/s/amazing-aryabhata-ezedp?file=/src/app/app.component.ts:512-559
If that's the case, then the type definition for RefineListItem should be updated. Currently it is set to the following:
export declare type RefinementListItem = {
value: string;
label: string;
count: number;
isRefined: boolean;
};
Good catch, thanks!
fixed now that the types come from InstantSearch.js
Describe the bug ๐
Unable to change the label of refinement list item using angular-instantsearch@3.0.0-beta.5
To Reproduce ๐
https://codesandbox.io/s/awesome-proskuriakova-9hmpz
Looks like this issue is happening in other versions too.
Expected behavior ๐ญ
Should change the label.